File tree Expand file tree Collapse file tree 1 file changed +5
-28
lines changed Expand file tree Collapse file tree 1 file changed +5
-28
lines changed Original file line number Diff line number Diff line change 10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
- test :
13
+ build :
14
+
14
15
runs-on : ubuntu-latest
15
- strategy :
16
- fast-fail : false
17
- matrix :
18
- rust : [stable, beta, nightly]
19
16
20
17
steps :
21
18
- uses : actions/checkout@v2
22
- - name : Install Rust
23
- run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
24
- - name : Run Tests
19
+ - name : Build
20
+ run : cargo build --verbose
21
+ - name : Run tests
25
22
run : cargo test --verbose
26
- - run : cargo build --all --all-features --all-targets
27
- - name : Catch missing feature flags
28
- if : startsWith(matrix.rust, 'nightly')
29
- run : cargo check -Z features=dev_dep
30
- - name : Install cargo-hack
31
- uses : taiki-e/install-action@cargo-hack
32
- - run : rustup target add thumbv7m-none-eabi
33
- - name : Ensure we don't depend on libstd
34
- run : cargo hack build --target thumbv7m-none-eabi --no-dev-deps --no-default-features
35
-
36
- miri :
37
- runs-on : ubuntu-latest
38
- steps :
39
- - uses : actions/checkout@v2
40
- - name : Install Rust
41
- run : rustup update nightly --component miri && rustup default nightly
42
- - run : cargo miri test
43
- env :
44
- MIRIFLAGS : -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation
45
- RUSTFLAGS : ${{ env.RUSTFLAGS }} -Z randomize-layout
You can’t perform that action at this time.
0 commit comments