Skip to content

Commit 7d41737

Browse files
committed
experiment with macOS M1 runners
1 parent 50bb0a6 commit 7d41737

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
include:
2525
- os: ubuntu-latest
2626
host_target: x86_64-unknown-linux-gnu
27-
- os: macos-latest
28-
host_target: x86_64-apple-darwin
27+
- os: macos-14
28+
host_target: aarch64-apple-darwin
2929
- os: windows-latest
3030
host_target: i686-pc-windows-msvc
3131
runs-on: ${{ matrix.os }}

ci/ci.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ case $HOST_TARGET in
135135
# Extra tier 1
136136
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
137137
MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
138+
MIRI_TEST_TARGET=x86_64-apple-darwin run_tests
138139
MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
139140
MIRI_TEST_TARGET=x86_64-pc-windows-gnu run_tests
140141
# Extra tier 2
@@ -150,8 +151,8 @@ case $HOST_TARGET in
150151
# Custom target JSON file
151152
MIRI_TEST_TARGET=tests/avr.json MIRI_NO_STD=1 run_tests_minimal no_std
152153
;;
153-
x86_64-apple-darwin)
154-
# Host
154+
aarch64-apple-darwin)
155+
# Host (tier 2)
155156
GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
156157
# Extra tier 1
157158
MIRI_TEST_TARGET=x86_64-pc-windows-msvc CARGO_MIRI_ENV=1 run_tests

0 commit comments

Comments
 (0)