|
17 | 17 | RUSTFLAGS: "-Dwarnings"
|
18 | 18 |
|
19 | 19 | jobs:
|
| 20 | + # Builds for no_std platforms |
20 | 21 | build:
|
21 | 22 | runs-on: ubuntu-latest
|
22 | 23 | strategy:
|
|
36 | 37 | profile: minimal
|
37 | 38 | override: true
|
38 | 39 | - run: cargo build --release --target ${{ matrix.target }}
|
39 |
| - - run: cargo build --release --target ${{ matrix.target }} --all-features |
| 40 | + - run: cargo build --release --target ${{ matrix.target }} --features compact |
| 41 | + - run: cargo build --release --target ${{ matrix.target }} --features ctr |
| 42 | + - run: cargo build --release --target ${{ matrix.target }} --features compact,ctr |
40 | 43 |
|
41 | 44 | # Tests for the portable software backend
|
42 | 45 | soft:
|
@@ -99,13 +102,16 @@ jobs:
|
99 | 102 | - uses: actions/checkout@v1
|
100 | 103 | - uses: actions-rs/toolchain@v1
|
101 | 104 | with:
|
102 |
| - profile: minimal |
103 | 105 | toolchain: ${{ matrix.rust }}
|
| 106 | + target: ${{ matrix.target }} |
| 107 | + profile: minimal |
| 108 | + override: true |
104 | 109 | - run: ${{ matrix.deps }}
|
105 |
| - - run: cargo check --all-features |
106 |
| - - run: cargo test --no-default-features |
107 |
| - - run: cargo test |
108 |
| - - run: cargo test --all-features |
| 110 | + - run: cargo check --target ${{ matrix.target }} --all-features |
| 111 | + - run: cargo test --release --target ${{ matrix.target }} |
| 112 | + - run: cargo test --release --target ${{ matrix.target }} --features compact |
| 113 | + - run: cargo test --release --target ${{ matrix.target }} --features ctr |
| 114 | + - run: cargo test --release --target ${{ matrix.target }} --all-features |
109 | 115 |
|
110 | 116 | # Cross-compiled tests
|
111 | 117 | cross:
|
@@ -137,3 +143,5 @@ jobs:
|
137 | 143 | - run: cargo install cross
|
138 | 144 | - run: cross test --release --target ${{ matrix.target }}
|
139 | 145 | - run: cross test --release --target ${{ matrix.target }} --features compact
|
| 146 | + - run: cross test --release --target ${{ matrix.target }} --features ctr |
| 147 | + - run: cross test --release --target ${{ matrix.target }} --features compact,ctr |
0 commit comments