File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 24
24
include :
25
25
- os : ubuntu-latest
26
26
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
29
29
- os : windows-latest
30
30
host_target : i686-pc-windows-msvc
31
31
runs-on : ${{ matrix.os }}
56
56
# contains package information of crates installed via `cargo install`.
57
57
~/.cargo/.crates.toml
58
58
~/.cargo/.crates2.json
59
- key : ${{ runner.os }}-cargo-reset20230315 -${{ hashFiles('**/Cargo.lock') }}
60
- restore-keys : ${{ runner.os }}-cargo-reset20230315
59
+ key : ${{ runner.os }}-cargo-reset20240315 -${{ hashFiles('**/Cargo.lock') }}
60
+ restore-keys : ${{ runner.os }}-cargo-reset20240315
61
61
62
62
- name : Install rustup-toolchain-install-master
63
63
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
@@ -98,11 +98,12 @@ jobs:
98
98
with :
99
99
path : |
100
100
# Taken from <https://doc.rust-lang.org/nightly/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci>.
101
- ~/.cargo/bin
101
+ # Cache package/registry information
102
102
~/.cargo/registry/index
103
103
~/.cargo/registry/cache
104
104
~/.cargo/git/db
105
- # contains package information of crates installed via `cargo install`.
105
+ # Cache installed binaries
106
+ ~/.cargo/bin
106
107
~/.cargo/.crates.toml
107
108
~/.cargo/.crates2.json
108
109
key : ${{ runner.os }}-cargo-reset20230315-${{ hashFiles('**/Cargo.lock') }}
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ case $HOST_TARGET in
135
135
# Extra tier 1
136
136
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
137
137
MIRI_TEST_TARGET=aarch64-unknown-linux-gnu run_tests
138
+ MIRI_TEST_TARGET=x86_64-apple-darwin run_tests
138
139
MIRI_TEST_TARGET=i686-pc-windows-gnu run_tests
139
140
MIRI_TEST_TARGET=x86_64-pc-windows-gnu run_tests
140
141
# Extra tier 2
@@ -150,8 +151,8 @@ case $HOST_TARGET in
150
151
# Custom target JSON file
151
152
MIRI_TEST_TARGET=tests/avr.json MIRI_NO_STD=1 run_tests_minimal no_std
152
153
;;
153
- x86_64 -apple-darwin)
154
- # Host
154
+ aarch64 -apple-darwin)
155
+ # Host (tier 2)
155
156
GC_STRESS=1 MIR_OPT=1 MANY_SEEDS=64 TEST_BENCH=1 CARGO_MIRI_ENV=1 run_tests
156
157
# Extra tier 1
157
158
MIRI_TEST_TARGET=x86_64-pc-windows-msvc CARGO_MIRI_ENV=1 run_tests
You can’t perform that action at this time.
0 commit comments