Skip to content

Commit 0bc8062

Browse files
committed
ci:device with same sh
1 parent 46a370c commit 0bc8062

File tree

3 files changed

+3
-313
lines changed

3 files changed

+3
-313
lines changed

.github/scripts/validate_device_packages.sh

Lines changed: 0 additions & 310 deletions
This file was deleted.

.github/scripts/validate_embed_packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ validate_device_package() {
320320
test_file=$(create_device_test_file "$package_path" "$target")
321321

322322
# Run llgo build test
323-
if llgo build -tags nogc -target "$target" "$test_file" 2>&1; then
323+
if llgo build -v -tags nogc -target "$target" "$test_file" 2>&1; then
324324
echo "PASS"
325325
rm -f "$test_file"
326326
((PASSED_TESTS++))
@@ -346,7 +346,7 @@ validate_machine_target() {
346346
echo -n "[$test_number] Testing $target... "
347347

348348
# Run llgo build test
349-
if llgo build -tags nogc -target="$target" "$test_file" 2>&1; then
349+
if llgo build -v -tags nogc -target="$target" "$test_file" 2>&1; then
350350
echo "PASS"
351351
((PASSED_TESTS++))
352352
PASSED_LIST+=("$target")

.github/workflows/validate-embed-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: ./.github/actions/setup-llgo
1919
- name: Run Device Package Validation
2020
run: |
21-
./.github/scripts/validate_device_packages.sh
21+
./.github/scripts/validate_embed_packages.sh device
2222
2323
validate-machine-packages:
2424
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)