@@ -113,8 +113,6 @@ jobs:
113
113
os : ubuntu-latest
114
114
- target : x86_64-unknown-linux-gnu-emulated
115
115
os : ubuntu-latest
116
- test_everything : true
117
- rustflags : --cfg stdarch_intel_sde
118
116
- target : arm-unknown-linux-gnueabihf
119
117
os : ubuntu-latest
120
118
- target : armv7-unknown-linux-gnueabihf
@@ -146,7 +144,7 @@ jobs:
146
144
- target : aarch64-unknown-linux-gnu
147
145
os : ubuntu-latest
148
146
- target : x86_64-apple-darwin
149
- os : macos-11
147
+ os : macos-13
150
148
- target : x86_64-pc-windows-msvc
151
149
os : windows-latest
152
150
- target : i686-pc-windows-msvc
@@ -175,21 +173,11 @@ jobs:
175
173
- uses : actions/checkout@v4
176
174
with :
177
175
submodules : recursive
178
- - name : Install Rust (rustup)
179
- run : |
180
- rustup update nightly --no-self-update
181
- rustup default nightly
182
- if : matrix.os != 'macos-latest'
183
- - name : Install Rust (macos)
176
+ - name : Install Rust
184
177
run : |
185
- curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
186
- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
187
178
rustup update nightly --no-self-update
188
179
rustup default nightly
189
- if : matrix.os == 'macos-latest'
190
- - run : |
191
- rustup default nightly
192
- rustup target add ${{ matrix.target }}
180
+ - run : rustup target add ${{ matrix.target }}
193
181
if : " !endsWith(matrix.target, 'emulated')"
194
182
- name : Setup (aarch64-apple-darwin)
195
183
run : |
@@ -202,12 +190,6 @@ jobs:
202
190
- run : echo "NORUN=1" >> $GITHUB_ENV
203
191
shell : bash
204
192
if : matrix.norun != '' || startsWith(matrix.target, 'thumb') || matrix.target == 'nvptx64-nvidia-cuda'
205
- - run : echo "STDARCH_TEST_EVERYTHING=1" >> $GITHUB_ENV
206
- shell : bash
207
- if : matrix.test_everything != ''
208
- - run : echo "RUSTFLAGS=${{ matrix.rustflags }}" >> $GITHUB_ENV
209
- shell : bash
210
- if : matrix.rustflags != ''
211
193
- run : echo "STDARCH_DISABLE_ASSERT_INSTR=1" >> $GITHUB_ENV
212
194
shell : bash
213
195
if : matrix.disable_assert_instr != ''
@@ -225,9 +207,21 @@ jobs:
225
207
# ... while Linux goes to `run-docker.sh`
226
208
- run : ./ci/run-docker.sh ${{ matrix.target }}
227
209
shell : bash
228
- if : " matrix.os == 'ubuntu-latest' && !startsWith(matrix.target, 'thumb')"
210
+ if : " matrix.os == 'ubuntu-latest' && !startsWith(matrix.target, 'thumb') && !endsWith(matrix.target, 'emulated')"
211
+ env :
212
+ TARGET : ${{ matrix.target }}
213
+
214
+ - run : |
215
+ rustup target add x86_64-unknown-linux-gnu
216
+ wget https://downloadmirror.intel.com/823664/sde-external-9.38.0-2024-04-18-lin.tar.xz
217
+ tar -xJf sde-external-9.38.0-2024-04-18-lin.tar.xz
218
+ ./ci/run.sh
219
+ shell: bash
220
+ if: endsWith(matrix.target, 'emulated')
229
221
env:
230
222
TARGET: ${{ matrix.target }}
223
+ RUSTFLAGS: --cfg stdarch_intel_sde
224
+ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: ./sde-external-9.38.0-2024-04-18-lin/sde64 -future --
231
225
232
226
build-std-detect :
233
227
needs : [style]
0 commit comments