_demo/empty -> _demo/targetsbuild

This commit is contained in:
Li Jie
2025-08-22 06:59:19 +08:00
parent 2508674227
commit 077f114373
5 changed files with 9 additions and 8 deletions

View File

@@ -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

View File

@@ -1,6 +0,0 @@
package main
import _ "github.com/goplus/llgo/_demo/empty/C"
func main() {
}

View File

@@ -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

View File

@@ -0,0 +1,6 @@
package main
import _ "github.com/goplus/llgo/_demo/targetsbuild/C"
func main() {
}