@@ -640,19 +640,11 @@ jobs:
640640 uses : actions/checkout@v4
641641
642642 - name : install-wasi-sdk-wabt
643+ if : matrix.test_option == '$WASI_TEST_OPTIONS'
643644 uses : ./.github/actions/install-wasi-sdk-wabt
644645 with :
645646 os : ${{ matrix.os }}
646647
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-
656648 - name : set env variable(if llvm are used)
657649 if : matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
658650 run : echo "USE_LLVM=true" >> $GITHUB_ENV
@@ -697,12 +689,12 @@ jobs:
697689
698690 - name : Build WASI thread tests
699691 if : matrix.test_option == '$WASI_TEST_OPTIONS'
700- run : bash build.sh --sysroot "$SYSROOT_PATH"
692+ run : bash build.sh
701693 working-directory : ./core/iwasm/libraries/lib-wasi-threads/test/
702694
703695 - name : Build WASI thread stress tests
704696 if : matrix.test_option == '$WASI_TEST_OPTIONS'
705- run : bash build.sh --sysroot "$SYSROOT_PATH"
697+ run : bash build.sh
706698 working-directory : ./core/iwasm/libraries/lib-wasi-threads/stress-test/
707699
708700 - name : build socket api tests
0 commit comments