@@ -640,19 +640,11 @@ jobs:
640
640
uses : actions/checkout@v4
641
641
642
642
- name : install-wasi-sdk-wabt
643
+ if : matrix.test_option == '$WASI_TEST_OPTIONS'
643
644
uses : ./.github/actions/install-wasi-sdk-wabt
644
645
with :
645
646
os : ${{ matrix.os }}
646
647
647
- # It is a temporary solution until new wasi-sdk that includes bug fixes is released
648
- - name : build wasi-libc from source
649
- if : matrix.test_option == '$WASI_TEST_OPTIONS'
650
- run : |
651
- git clone https://github.com/WebAssembly/wasi-libc
652
- cd wasi-libc
653
- make -j AR=/opt/wasi-sdk/bin/llvm-ar NM=/opt/wasi-sdk/bin/llvm-nm CC=/opt/wasi-sdk/bin/clang THREAD_MODEL=posix
654
- echo "SYSROOT_PATH=$PWD/sysroot" >> $GITHUB_ENV
655
-
656
648
- name : set env variable(if llvm are used)
657
649
if : matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
658
650
run : echo "USE_LLVM=true" >> $GITHUB_ENV
@@ -697,12 +689,12 @@ jobs:
697
689
698
690
- name : Build WASI thread tests
699
691
if : matrix.test_option == '$WASI_TEST_OPTIONS'
700
- run : bash build.sh --sysroot "$SYSROOT_PATH"
692
+ run : bash build.sh
701
693
working-directory : ./core/iwasm/libraries/lib-wasi-threads/test/
702
694
703
695
- name : Build WASI thread stress tests
704
696
if : matrix.test_option == '$WASI_TEST_OPTIONS'
705
- run : bash build.sh --sysroot "$SYSROOT_PATH"
697
+ run : bash build.sh
706
698
working-directory : ./core/iwasm/libraries/lib-wasi-threads/stress-test/
707
699
708
700
- name : build socket api tests
0 commit comments