mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-17 10:39:21 +00:00
remove temporary wasi-libc build steps from CI workflows (#4343)
Ref: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2465
This commit is contained in:
parent
933f8124b0
commit
99c75b53db
|
@ -682,15 +682,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
|
|
||||||
# It is a temporary solution until new wasi-sdk that includes bug fixes is released
|
|
||||||
- name: build wasi-libc from source
|
|
||||||
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/WebAssembly/wasi-libc
|
|
||||||
cd wasi-libc
|
|
||||||
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
|
|
||||||
echo "SYSROOT_PATH=$PWD/sysroot" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: set env variable(if llvm are used)
|
- name: set env variable(if llvm are used)
|
||||||
if: matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
|
if: matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
|
||||||
run: echo "USE_LLVM=true" >> $GITHUB_ENV
|
run: echo "USE_LLVM=true" >> $GITHUB_ENV
|
||||||
|
@ -727,7 +718,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build WASI thread tests
|
- name: Build WASI thread tests
|
||||||
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
||||||
run: bash build.sh --sysroot "$SYSROOT_PATH"
|
run: bash build.sh
|
||||||
working-directory: ./core/iwasm/libraries/lib-wasi-threads/test/
|
working-directory: ./core/iwasm/libraries/lib-wasi-threads/test/
|
||||||
|
|
||||||
- name: build socket api tests
|
- name: build socket api tests
|
||||||
|
|
14
.github/workflows/nightly_run.yml
vendored
14
.github/workflows/nightly_run.yml
vendored
|
@ -640,19 +640,11 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install-wasi-sdk-wabt
|
- name: install-wasi-sdk-wabt
|
||||||
|
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
||||||
uses: ./.github/actions/install-wasi-sdk-wabt
|
uses: ./.github/actions/install-wasi-sdk-wabt
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
|
|
||||||
# It is a temporary solution until new wasi-sdk that includes bug fixes is released
|
|
||||||
- name: build wasi-libc from source
|
|
||||||
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
|
||||||
run: |
|
|
||||||
git clone https://github.com/WebAssembly/wasi-libc
|
|
||||||
cd wasi-libc
|
|
||||||
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
|
|
||||||
echo "SYSROOT_PATH=$PWD/sysroot" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: set env variable(if llvm are used)
|
- name: set env variable(if llvm are used)
|
||||||
if: matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
|
if: matrix.running_mode == 'aot' || matrix.running_mode == 'jit' || matrix.running_mode == 'multi-tier-jit'
|
||||||
run: echo "USE_LLVM=true" >> $GITHUB_ENV
|
run: echo "USE_LLVM=true" >> $GITHUB_ENV
|
||||||
|
@ -697,12 +689,12 @@ jobs:
|
||||||
|
|
||||||
- name: Build WASI thread tests
|
- name: Build WASI thread tests
|
||||||
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
||||||
run: bash build.sh --sysroot "$SYSROOT_PATH"
|
run: bash build.sh
|
||||||
working-directory: ./core/iwasm/libraries/lib-wasi-threads/test/
|
working-directory: ./core/iwasm/libraries/lib-wasi-threads/test/
|
||||||
|
|
||||||
- name: Build WASI thread stress tests
|
- name: Build WASI thread stress tests
|
||||||
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
if: matrix.test_option == '$WASI_TEST_OPTIONS'
|
||||||
run: bash build.sh --sysroot "$SYSROOT_PATH"
|
run: bash build.sh
|
||||||
working-directory: ./core/iwasm/libraries/lib-wasi-threads/stress-test/
|
working-directory: ./core/iwasm/libraries/lib-wasi-threads/stress-test/
|
||||||
|
|
||||||
- name: build socket api tests
|
- name: build socket api tests
|
||||||
|
|
Loading…
Reference in New Issue
Block a user