@@ -110,13 +110,6 @@ jobs:
110110 env :
111111 CARGO_PROFILE_RELEASE_CODEGEN_UNITS : 1
112112 CARGO_PROFILE_RELEASE_LTO : fat
113- # no outline-atomics, no parking_lot
114- - run : cargo test -vv --features float,std,serde $DOCTEST_XCOMPILE -- $REPORT_TIME
115- - run : cargo test -vv --features float,std,serde --release $DOCTEST_XCOMPILE -- $REPORT_TIME
116- - run : cargo test -vv --features float,std,serde --release $DOCTEST_XCOMPILE -- $REPORT_TIME
117- env :
118- CARGO_PROFILE_RELEASE_CODEGEN_UNITS : 1
119- CARGO_PROFILE_RELEASE_LTO : fat
120113 # +cmpxchg16b
121114 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features -- $REPORT_TIME
122115 env :
@@ -252,21 +245,13 @@ jobs:
252245 cargo -Z build-std test -vv --workspace --exclude asm-test --exclude bench --all-features --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
253246 - run : |
254247 cargo -Z build-std test -vv --workspace --exclude asm-test --exclude bench --all-features --release --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
248+ if: matrix.sanitizer != 'memory' # https://github.com/google/sanitizers/issues/558
255249 - run : |
256250 cargo -Z build-std test -vv --workspace --exclude asm-test --exclude bench --all-features --release --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
257251 env:
258252 CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
259253 CARGO_PROFILE_RELEASE_LTO: fat
260- # no outline-atomics, no parking_lot
261- - run : |
262- cargo -Z build-std test -vv --features float,std,serde --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
263- - run : |
264- cargo -Z build-std test -vv --features float,std,serde --release --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
265- - run : |
266- cargo -Z build-std test -vv --features float,std,serde --release --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
267- env:
268- CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
269- CARGO_PROFILE_RELEASE_LTO: fat
254+ if: matrix.sanitizer != 'memory' # https://github.com/google/sanitizers/issues/558
270255 # +cmpxchg16b
271256 - run : |
272257 cargo -Z build-std test -vv --workspace --exclude asm-test --exclude bench --all-features --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
@@ -278,13 +263,15 @@ jobs:
278263 env:
279264 RUSTDOCFLAGS: ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b
280265 RUSTFLAGS: ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b
266+ if: matrix.sanitizer != 'memory' # https://github.com/google/sanitizers/issues/558
281267 - run : |
282268 cargo -Z build-std test -vv --workspace --exclude asm-test --exclude bench --all-features --release --target "$(rustc -Vv | grep host | sed 's/host: //')" -- -Z unstable-options --report-time
283269 env:
284270 CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
285271 CARGO_PROFILE_RELEASE_LTO: fat
286272 RUSTDOCFLAGS: ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b
287273 RUSTFLAGS: ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b
274+ if: matrix.sanitizer != 'memory' # https://github.com/google/sanitizers/issues/558
288275
289276 valgrind :
290277 env :
@@ -300,33 +287,34 @@ jobs:
300287 - uses : taiki-e/install-action@valgrind
301288 # all features
302289 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features -Z doctest-xcompile -- -Z unstable-options --report-time
303- - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features --release -Z doctest-xcompile -- -Z unstable-options --report-time
290+ env :
291+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} --cfg valgrind
292+ RUSTFLAGS : ${{ env.RUSTFLAGS }} --cfg valgrind
304293 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features --release -Z doctest-xcompile -- -Z unstable-options --report-time
305294 env :
306- CARGO_PROFILE_RELEASE_CODEGEN_UNITS : 1
307- CARGO_PROFILE_RELEASE_LTO : fat
308- # no outline-atomics, no parking_lot
309- - run : cargo test -vv --features float,std,serde -Z doctest-xcompile -- -Z unstable-options --report-time
310- - run : cargo test -vv --features float,std,serde --release -Z doctest-xcompile -- -Z unstable-options --report-time
311- - run : cargo test -vv --features float,std,serde --release -Z doctest-xcompile -- -Z unstable-options --report-time
295+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} --cfg valgrind
296+ RUSTFLAGS : ${{ env.RUSTFLAGS }} --cfg valgrind
297+ - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features --release -Z doctest-xcompile -- -Z unstable-options --report-time
312298 env :
313299 CARGO_PROFILE_RELEASE_CODEGEN_UNITS : 1
314300 CARGO_PROFILE_RELEASE_LTO : fat
301+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} --cfg valgrind
302+ RUSTFLAGS : ${{ env.RUSTFLAGS }} --cfg valgrind
315303 # +cmpxchg16b
316304 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features -Z doctest-xcompile -- -Z unstable-options --report-time
317305 env :
318- RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b
319- RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b
306+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
307+ RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
320308 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features --release -Z doctest-xcompile -- -Z unstable-options --report-time
321309 env :
322- RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b
323- RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b
310+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
311+ RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
324312 - run : cargo test -vv --workspace --exclude asm-test --exclude bench --all-features --release -Z doctest-xcompile -- -Z unstable-options --report-time
325313 env :
326314 CARGO_PROFILE_RELEASE_CODEGEN_UNITS : 1
327315 CARGO_PROFILE_RELEASE_LTO : fat
328- RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b
329- RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b
316+ RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
317+ RUSTFLAGS : ${{ env.RUSTFLAGS }} -C target-feature=+cmpxchg16b --cfg valgrind
330318
331319 codegen :
332320 runs-on : ubuntu-latest
@@ -392,15 +380,11 @@ jobs:
392380 env :
393381 RUSTDOCFLAGS : ${{ env.RUSTDOCFLAGS }} --cfg docsrs
394382
395- # This job doesn't actually test anything, but they're used to tell bors the
396- # build completed, as there is no practical way to detect when a workflow is
397- # successful listening to webhooks only.
398- #
399383 # ALL THE PREVIOUS JOBS NEEDS TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
400384
401385 ci-success :
402386 name : ci
403- if : github.event_name == 'push' && success()
387+ if : success()
404388 needs :
405389 - test
406390 - build
0 commit comments