Skip to content

Commit bac8e6e

Browse files
committed
riscv32: Add JIT build to the CI
Signed-off-by: Paul Guyot <[email protected]>
1 parent cf0a868 commit bac8e6e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,20 @@ jobs:
379379
arch: "riscv32"
380380
library-arch: riscv32-linux-gnu-ilp32
381381

382+
# riscv32-ilp32 build + jit
383+
- os: "ubuntu-24.04"
384+
cc: "riscv32-unknown-linux-gnu-gcc"
385+
cxx: "riscv32-unknown-linux-gnu-g++"
386+
cflags: "-O2"
387+
otp: "28"
388+
elixir_version: "1.17"
389+
rebar3_version: "3.24.0"
390+
cmake_opts_other: "-DAVM_DISABLE_JIT=OFF -DAVM_JIT_TARGET_ARCH=riscv32 -DCMAKE_TOOLCHAIN_FILE=${RUNNER_TEMP}/riscv32_ilp32_toolchain.cmake"
391+
compiler_pkgs: "qemu-user qemu-user-binfmt binfmt-support"
392+
arch: "riscv32"
393+
library-arch: riscv32-linux-gnu-ilp32
394+
jit_target_arch: "riscv32"
395+
382396
env:
383397
ImageOS: ${{ matrix.container == 'ubuntu:20.04' && 'ubuntu20' || matrix.os == 'ubuntu-20.04' && 'ubuntu20' || matrix.os == 'ubuntu-22.04' && 'ubuntu22' || matrix.os == 'ubuntu-24.04' && 'ubuntu24' || 'ubuntu24' }}
384398
CC: ${{ matrix.cc }}

0 commit comments

Comments
 (0)