_demo/empty -> _demo/targetsbuild
This commit is contained in:
2
.github/workflows/targets.yml
vendored
2
.github/workflows/targets.yml
vendored
@@ -36,5 +36,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Build targets
|
- name: Build targets
|
||||||
run: |
|
run: |
|
||||||
cd _demo/empty
|
cd _demo/targetsbuild
|
||||||
bash build-targets-ci.sh
|
bash build-targets-ci.sh
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import _ "github.com/goplus/llgo/_demo/empty/C"
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
}
|
|
||||||
@@ -134,10 +134,11 @@ wioterminal \
|
|||||||
xiao-esp32c3 \
|
xiao-esp32c3 \
|
||||||
xiao-rp2040 \
|
xiao-rp2040 \
|
||||||
xiao; do
|
xiao; do
|
||||||
../../llgo.sh build -v -target $target -o hello.out . >/dev/null 2>&1
|
output=$(../../llgo.sh build -v -target $target -o hello.out . 2>&1)
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo ✅ $target `file hello.out`
|
echo ✅ $target `file hello.out`
|
||||||
else
|
else
|
||||||
echo ❌ $target
|
echo ❌ $target
|
||||||
|
echo "$output"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
6
_demo/targetsbuild/empty.go
Normal file
6
_demo/targetsbuild/empty.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import _ "github.com/goplus/llgo/_demo/targetsbuild/C"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user