_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
|
||||
run: |
|
||||
cd _demo/empty
|
||||
cd _demo/targetsbuild
|
||||
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-rp2040 \
|
||||
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
|
||||
echo ✅ $target `file hello.out`
|
||||
else
|
||||
echo ❌ $target
|
||||
echo "$output"
|
||||
fi
|
||||
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