|
6 | 6 | schedule: [cron: "40 1 * * *"]
|
7 | 7 |
|
8 | 8 | env:
|
9 |
| - RUSTFLAGS: '-Dwarnings' |
| 9 | + RUSTFLAGS: -Dwarnings |
10 | 10 |
|
11 | 11 | jobs:
|
12 | 12 | test:
|
|
24 | 24 | - run: cargo test
|
25 | 25 | - run: cargo test --no-default-features
|
26 | 26 | - run: cargo test --features span-locations
|
27 |
| - - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test |
28 |
| - - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features |
| 27 | + - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test |
| 28 | + run: cargo test |
| 29 | + env: |
| 30 | + RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} |
| 31 | + - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features |
| 32 | + run: cargo test --no-default-features |
| 33 | + env: |
| 34 | + RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} |
29 | 35 |
|
30 | 36 | nightly:
|
31 | 37 | name: Rust nightly
|
|
38 | 44 | - run: cargo test --no-default-features -- --ignored # run the ignored test to make sure the `proc-macro` feature is disabled
|
39 | 45 | - run: cargo test --features span-locations
|
40 | 46 | - run: cargo test --manifest-path tests/ui/Cargo.toml
|
41 |
| - - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test |
42 |
| - - run: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features |
43 |
| - - run: RUSTFLAGS='-Z allow-features=' cargo test |
| 47 | + - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test |
| 48 | + run: cargo test |
| 49 | + env: |
| 50 | + RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} |
| 51 | + - name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo test --no-default-features |
| 52 | + run: cargo test --no-default-features |
| 53 | + env: |
| 54 | + RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} |
| 55 | + - name: RUSTFLAGS='-Z allow-features=' cargo test |
| 56 | + run: cargo test |
| 57 | + env: |
| 58 | + RUSTFLAGS: -Z allow-features= ${{env.RUSTFLAGS}} |
44 | 59 | - run: cargo update -Z minimal-versions && cargo build
|
45 | 60 |
|
46 | 61 | webassembly:
|
|
0 commit comments