mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-12 00:45:28 +00:00
ci: Setup wasi-sdk for compilation on nuttx to fix break (#2012)
This commit is contained in:
parent
5a7fbda7ac
commit
2a5a2243e3
9
.github/workflows/compilation_on_nuttx.yml
vendored
9
.github/workflows/compilation_on_nuttx.yml
vendored
|
@ -45,6 +45,9 @@ concurrency:
|
|||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
WASI_SDK_PATH: "/opt/wasi-sdk"
|
||||
|
||||
jobs:
|
||||
build_iwasm_on_nuttx:
|
||||
runs-on: ubuntu-22.04
|
||||
|
@ -95,6 +98,12 @@ jobs:
|
|||
tar xvf riscv.tar.gz
|
||||
echo "$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install WASI-SDK
|
||||
run: |
|
||||
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz > wasi-sdk.tar.gz
|
||||
tar xvf wasi-sdk.tar.gz
|
||||
sudo mv wasi-sdk-* /opt/wasi-sdk
|
||||
|
||||
- name: Checkout NuttX
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
7
.github/workflows/spec_test_on_nuttx.yml
vendored
7
.github/workflows/spec_test_on_nuttx.yml
vendored
|
@ -11,6 +11,7 @@ on:
|
|||
|
||||
env:
|
||||
LLVM_CACHE_SUFFIX: "build-llvm_libraries_ex"
|
||||
WASI_SDK_PATH: "/opt/wasi-sdk"
|
||||
|
||||
jobs:
|
||||
build_llvm_libraries:
|
||||
|
@ -55,6 +56,12 @@ jobs:
|
|||
tar xvf riscv.tar.gz
|
||||
echo "$PWD/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install WASI-SDK
|
||||
run: |
|
||||
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz > wasi-sdk.tar.gz
|
||||
tar xvf wasi-sdk.tar.gz
|
||||
sudo mv wasi-sdk-* /opt/wasi-sdk
|
||||
|
||||
- name: Checkout NuttX
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user