Skip to content

Commit 7bc78d1

Browse files
authored
Merge pull request zesterer#128 from mvdnes/revert-127-ci
Revert "Add more tests to the CI"
2 parents e7433e7 + 418e8f5 commit 7bc78d1

File tree

1 file changed

+5
-28
lines changed

1 file changed

+5
-28
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,13 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
test:
13+
build:
14+
1415
runs-on: ubuntu-latest
15-
strategy:
16-
fast-fail: false
17-
matrix:
18-
rust: [stable, beta, nightly]
1916

2017
steps:
2118
- 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
2522
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

0 commit comments

Comments
 (0)