Skip to content

Commit a2a80ab

Browse files
committed
Enable jit on macOS
1 parent 9a84b59 commit a2a80ab

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,10 @@ jobs:
293293
runs-on: ${{ matrix.os }}
294294
strategy:
295295
matrix:
296-
include:
297-
- os: macos-latest
298-
cargo_args: "" # TODO: Fix jit on macOS
299-
- os: ubuntu-latest
300-
cargo_args: "--features jit"
301-
- os: windows-2025
302-
cargo_args: "--features jit"
296+
os:
297+
- macos-latest
298+
- ubuntu-latest
299+
- windows-2025
303300
fail-fast: false
304301
steps:
305302
- uses: actions/checkout@v6.0.2
@@ -314,7 +311,7 @@ jobs:
314311
if: runner.os == 'macOS'
315312

316313
- name: build rustpython
317-
run: cargo build --release --verbose --features=threading ${{ env.CARGO_ARGS }} ${{ matrix.cargo_args }}
314+
run: cargo build --release --verbose --features=threading,jit ${{ env.CARGO_ARGS }}
318315

319316
- name: run snippets
320317
run: python -m pip install -r requirements.txt && pytest -v
@@ -450,7 +447,7 @@ jobs:
450447
451448
- name: Check whats_left is not broken
452449
shell: bash
453-
run: python -I scripts/whats_left.py ${{ env.CARGO_ARGS }} ${{ matrix.cargo_args }}
450+
run: python -I scripts/whats_left.py ${{ env.CARGO_ARGS }} --features jit
454451

455452
lint:
456453
name: Lint Rust & Python code

0 commit comments

Comments
 (0)