-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RISC-V (64bit) environment in actions
Signed-off-by: HyukWoo Park <[email protected]>
- Loading branch information
1 parent
8fae950
commit 4387f6c
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -236,6 +236,36 @@ jobs: | |
python3 ./tools/run-tests.py --engine="./out/pure/walrus" basic-tests wasm-test-core jit | ||
python3 ./tools/run-tests.py --jit --engine="./out/pure/walrus" basic-tests wasm-test-core jit | ||
build-test-on-riscv64: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Build in riscv64 container | ||
uses: uraimo/[email protected] | ||
with: | ||
arch: riscv64 | ||
distro: ubuntu22.04 | ||
|
||
# Install deps into the container. With the token, the container will be cached | ||
# The image is cached publically like a package | ||
githubToken: ${{ github.token }} | ||
|
||
install: | | ||
apt-get update | ||
apt-get install -y cmake build-essential ninja-build pkg-config python3 clang git | ||
run: | | ||
# TODO enable JIT for RISC-V | ||
CC=clang CXX=clang++ cmake -H. -Bout/release -DWALRUS_JIT=OFF -DWALRUS_MODE=release -DWALRUS_OUTPUT=shell -GNinja | ||
CC=clang CXX=clang++ cmake -H. -Bout/pure -DWALRUS_JIT=OFF -DWALRUS_MODE=release -DWALRUS_OUTPUT=shell -DWALRUS_WASI=OFF -GNinja | ||
ninja -Cout/release | ||
ninja -Cout/pure | ||
python3 ./tools/run-tests.py --engine="./out/release/walrus" | ||
#python3 ./tools/run-tests.py --jit --engine="./out/release/walrus" | ||
python3 ./tools/run-tests.py --engine="./out/pure/walrus" basic-tests wasm-test-core jit | ||
#python3 ./tools/run-tests.py --jit --engine="./out/pure/walrus" basic-tests wasm-test-core jit | ||
test-on-windows-x86-x64: | ||
runs-on: windows-2022 | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters