|
39 | 39 | - run: cargo build --release --target ${{ matrix.target }} |
40 | 40 | - run: cargo build --release --target ${{ matrix.target }} --features compact |
41 | 41 | - run: cargo build --release --target ${{ matrix.target }} --features ctr |
42 | | - - run: cargo build --release --target ${{ matrix.target }} --features compact,ctr |
| 42 | + - run: cargo build --release --target ${{ matrix.target }} --features force-soft |
| 43 | + - run: cargo build --release --target ${{ matrix.target }} --all-features |
43 | 44 |
|
44 | 45 | # Tests for the portable software backend |
45 | 46 | soft: |
|
73 | 74 | - run: cargo test --release --target ${{ matrix.target }} |
74 | 75 | - run: cargo test --release --target ${{ matrix.target }} --features compact |
75 | 76 | - run: cargo test --release --target ${{ matrix.target }} --features ctr |
| 77 | + - run: cargo test --release --target ${{ matrix.target }} --features force-soft |
76 | 78 | - run: cargo test --release --target ${{ matrix.target }} --all-features |
77 | 79 |
|
78 | 80 | # Tests for the AES-NI backend |
@@ -111,37 +113,40 @@ jobs: |
111 | 113 | - run: cargo test --release --target ${{ matrix.target }} |
112 | 114 | - run: cargo test --release --target ${{ matrix.target }} --features compact |
113 | 115 | - run: cargo test --release --target ${{ matrix.target }} --features ctr |
| 116 | + - run: cargo test --release --target ${{ matrix.target }} --features force-soft |
114 | 117 | - run: cargo test --release --target ${{ matrix.target }} --all-features |
115 | 118 |
|
116 | 119 | # Cross-compiled tests |
117 | | - cross: |
118 | | - strategy: |
119 | | - matrix: |
120 | | - include: |
121 | | - # ARM64 |
122 | | - - target: aarch64-unknown-linux-gnu |
123 | | - rust: 1.41.0 # MSRV |
124 | | - - target: aarch64-unknown-linux-gnu |
125 | | - rust: stable |
126 | | - |
127 | | - # PPC32 |
128 | | - - target: powerpc-unknown-linux-gnu |
129 | | - rust: 1.41.0 # MSRV |
130 | | - - target: powerpc-unknown-linux-gnu |
131 | | - rust: stable |
132 | | - |
133 | | - runs-on: ubuntu-latest |
134 | | - steps: |
135 | | - - uses: actions/checkout@v1 |
136 | | - - run: ${{ matrix.deps }} |
137 | | - - uses: actions-rs/toolchain@v1 |
138 | | - with: |
139 | | - toolchain: ${{ matrix.rust }} |
140 | | - target: ${{ matrix.target }} |
141 | | - profile: minimal |
142 | | - override: true |
143 | | - - run: cargo install cross |
144 | | - - run: cross test --release --target ${{ matrix.target }} |
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 |
| 120 | +# TODO(tarcieri): re-enable these after cpuid-bool v0.2.0 is published |
| 121 | +# cross: |
| 122 | +# strategy: |
| 123 | +# matrix: |
| 124 | +# include: |
| 125 | +# # ARM64 |
| 126 | +# - target: aarch64-unknown-linux-gnu |
| 127 | +# rust: 1.41.0 # MSRV |
| 128 | +# - target: aarch64-unknown-linux-gnu |
| 129 | +# rust: stable |
| 130 | +# |
| 131 | +# # PPC32 |
| 132 | +# - target: powerpc-unknown-linux-gnu |
| 133 | +# rust: 1.41.0 # MSRV |
| 134 | +# - target: powerpc-unknown-linux-gnu |
| 135 | +# rust: stable |
| 136 | +# |
| 137 | +# runs-on: ubuntu-latest |
| 138 | +# steps: |
| 139 | +# - uses: actions/checkout@v1 |
| 140 | +# - run: ${{ matrix.deps }} |
| 141 | +# - uses: actions-rs/toolchain@v1 |
| 142 | +# with: |
| 143 | +# toolchain: ${{ matrix.rust }} |
| 144 | +# target: ${{ matrix.target }} |
| 145 | +# profile: minimal |
| 146 | +# override: true |
| 147 | +# - run: cargo install cross |
| 148 | +# - run: cross test --release --target ${{ matrix.target }} |
| 149 | +# - run: cross test --release --target ${{ matrix.target }} --features compact |
| 150 | +# - run: cross test --release --target ${{ matrix.target }} --features ctr |
| 151 | +# - run: cargo test --release --target ${{ matrix.target }} --features force-soft |
| 152 | +# - run: cargo test --release --target ${{ matrix.target }} --all-features |
0 commit comments