Skip to content

Commit 99c75b5

Browse files
authored
remove temporary wasi-libc build steps from CI workflows (#4343)
Ref: #2465
1 parent 933f812 commit 99c75b5

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

.github/workflows/compilation_on_android_ubuntu.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -682,15 +682,6 @@ jobs:
682682
with:
683683
os: ${{ matrix.os }}
684684

685-
# It is a temporary solution until new wasi-sdk that includes bug fixes is released
686-
- name: build wasi-libc from source
687-
if: matrix.test_option == '$WASI_TEST_OPTIONS'
688-
run: |
689-
git clone https://github.com/WebAssembly/wasi-libc
690-
cd wasi-libc
691-
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
692-
echo "SYSROOT_PATH=$PWD/sysroot" >> $GITHUB_ENV
693-
694685
- name: set env variable(if llvm are used)
695686
if: matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
696687
run: echo "USE_LLVM=true" >> $GITHUB_ENV
@@ -727,7 +718,7 @@ jobs:
727718

728719
- name: Build WASI thread tests
729720
if: matrix.test_option == '$WASI_TEST_OPTIONS'
730-
run: bash build.sh --sysroot "$SYSROOT_PATH"
721+
run: bash build.sh
731722
working-directory: ./core/iwasm/libraries/lib-wasi-threads/test/
732723

733724
- name: build socket api tests

.github/workflows/nightly_run.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)