Skip to content

Commit 2c0e439

Browse files
committed
Disable jit for macos from CI to avoid arm64 CI failure
1 parent a392d84 commit 2c0e439

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18-
CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl,jit
18+
CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl
1919
# Skip additional tests on Windows. They are checked on Linux and MacOS.
2020
WINDOWS_SKIPS: >-
2121
test_glob
@@ -142,7 +142,7 @@ jobs:
142142
if: runner.os != 'macOS'
143143
# temp skip ssl linking for Mac to avoid CI failure
144144
- name: run rust tests (MacOS no ssl)
145-
run: cargo test --workspace --exclude rustpython_wasm --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings,jit
145+
run: cargo test --workspace --exclude rustpython_wasm --exclude rustpython-jit --verbose --no-default-features --features threading,stdlib,zlib,importlib,encodings
146146
if: runner.os == 'macOS'
147147

148148
- name: check compilation without threading
@@ -257,9 +257,12 @@ jobs:
257257
- name: Set up the Mac environment
258258
run: brew install autoconf automake libtool openssl@3
259259
if: runner.os == 'macOS'
260-
261260
- name: build rustpython
262261
run: cargo build --release --verbose --features=threading ${{ env.CARGO_ARGS }}
262+
if: runner.os == 'macOS'
263+
- name: build rustpython
264+
run: cargo build --release --verbose --features=threading ${{ env.CARGO_ARGS }},jit
265+
if: runner.os != 'macOS'
263266
- uses: actions/setup-python@v4
264267
with:
265268
python-version: ${{ env.PYTHON_VERSION }}

0 commit comments

Comments
 (0)