forked from Samsung/walrus
-
Notifications
You must be signed in to change notification settings - Fork 0
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
7f492b3
commit 4d2ee0b
Showing
2 changed files
with
31 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,35 @@ 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: | | ||
CC=clang CXX=clang++ cmake -H. -Bout/release -DWALRUS_MODE=release -DWALRUS_OUTPUT=shell -GNinja | ||
CC=clang CXX=clang++ cmake -H. -Bout/pure -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