Skip to content

Commit 1fd77b7

Browse files
committed
Add arm64/linux config to matrix roster of platforms
1 parent fb3a202 commit 1fd77b7

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,52 @@ jobs:
6767
fi
6868
grep -E "jit ir built:|jit runtime (built|skip|hit|stubbed):" build/dsl-jit-trace.log || true
6969
70+
linux-arm64-jit:
71+
runs-on: ubuntu-24.04-arm
72+
73+
steps:
74+
- uses: actions/checkout@v4
75+
76+
- name: Configure (JIT enabled)
77+
shell: bash
78+
run: |
79+
cmake -S . -B build-arm64-jit -DCMAKE_BUILD_TYPE=Release -DMINIEXPR_ENABLE_TCC_JIT=ON
80+
grep -E '^MINIEXPR_ENABLE_TCC_JIT:BOOL=ON$' build-arm64-jit/CMakeCache.txt
81+
82+
- name: Build
83+
shell: bash
84+
run: |
85+
cmake --build build-arm64-jit --parallel
86+
87+
- name: Test
88+
shell: bash
89+
run: |
90+
ME_DSL_JIT=1 ctest --test-dir build-arm64-jit --output-on-failure || \
91+
ME_DSL_JIT=1 ctest --test-dir build-arm64-jit --rerun-failed --output-on-failure
92+
93+
linux-arm64-interpreter:
94+
runs-on: ubuntu-24.04-arm
95+
96+
steps:
97+
- uses: actions/checkout@v4
98+
99+
- name: Configure (interpreter only)
100+
shell: bash
101+
run: |
102+
cmake -S . -B build-arm64-interpreter -DCMAKE_BUILD_TYPE=Release -DMINIEXPR_ENABLE_TCC_JIT=OFF
103+
grep -E '^MINIEXPR_ENABLE_TCC_JIT:BOOL=OFF$' build-arm64-interpreter/CMakeCache.txt
104+
105+
- name: Build
106+
shell: bash
107+
run: |
108+
cmake --build build-arm64-interpreter --parallel
109+
110+
- name: Test
111+
shell: bash
112+
run: |
113+
ME_DSL_JIT=0 ctest --test-dir build-arm64-interpreter --output-on-failure || \
114+
ME_DSL_JIT=0 ctest --test-dir build-arm64-interpreter --rerun-failed --output-on-failure
115+
70116
miniexpr-wasm32:
71117
runs-on: ubuntu-latest
72118

0 commit comments

Comments
 (0)