|
17 | 17 | RUSTFLAGS: "-Dwarnings"
|
18 | 18 |
|
19 | 19 | jobs:
|
20 |
| - test: |
| 20 | + build: |
21 | 21 | runs-on: ubuntu-latest
|
22 | 22 | strategy:
|
23 | 23 | matrix:
|
24 |
| - include: |
25 |
| - - target: i686-unknown-linux-gnu |
26 |
| - toolchain: 1.41.0 # MSRV |
27 |
| - use_cross: false |
28 |
| - deps: sudo apt install gcc-multilib |
29 |
| - - target: i686-unknown-linux-gnu |
30 |
| - toolchain: stable |
31 |
| - use_cross: false |
32 |
| - deps: sudo apt install gcc-multilib |
33 |
| - - target: x86_64-unknown-linux-gnu |
34 |
| - toolchain: 1.41.0 # MSRV |
35 |
| - use_cross: false |
36 |
| - deps: true |
37 |
| - - target: x86_64-unknown-linux-gnu |
38 |
| - toolchain: stable |
39 |
| - use_cross: false |
40 |
| - deps: true |
41 |
| - - target: powerpc-unknown-linux-gnu |
42 |
| - toolchain: 1.41.0 # MSRV |
43 |
| - use_cross: true |
44 |
| - deps: true |
45 |
| - - target: powerpc-unknown-linux-gnu |
46 |
| - toolchain: stable |
47 |
| - use_cross: true |
48 |
| - deps: true |
49 |
| - ## TODO: debug PPC64 linking errors. Example failure: |
50 |
| - ## <https://github.com/RustCrypto/KDFs/runs/1276943457?check_suite_focus=true> |
51 |
| - #- target: powerpc64-unknown-linux-gnu |
52 |
| - # toolchain: 1.41.0 # MSRV |
53 |
| - # use_cross: true |
54 |
| - # deps: true |
55 |
| - #- target: powerpc64-unknown-linux-gnu |
56 |
| - # toolchain: stable |
57 |
| - # use_cross: true |
58 |
| - # deps: true |
| 24 | + rust: |
| 25 | + - 1.41.0 # MSRV |
| 26 | + - stable |
| 27 | + target: |
| 28 | + - thumbv7em-none-eabi |
| 29 | + - wasm32-unknown-unknown |
59 | 30 | steps:
|
60 | 31 | - uses: actions/checkout@v1
|
61 |
| - - run: ${{ matrix.deps }} |
62 | 32 | - uses: actions-rs/toolchain@v1
|
63 | 33 | with:
|
64 | 34 | profile: minimal
|
65 |
| - toolchain: ${{ matrix.toolchain }} |
| 35 | + toolchain: ${{ matrix.rust }} |
66 | 36 | target: ${{ matrix.target }}
|
67 | 37 | override: true
|
68 |
| - - uses: actions-rs/cargo@v1 |
69 |
| - with: |
70 |
| - command: test |
71 |
| - use-cross: ${{ matrix.use_cross }} |
72 |
| - args: --target ${{ matrix.target }} --release |
73 |
| - - uses: actions-rs/cargo@v1 |
| 38 | + - run: cargo build --no-default-features --target ${{ matrix.target }} |
| 39 | + |
| 40 | + test: |
| 41 | + runs-on: ubuntu-latest |
| 42 | + strategy: |
| 43 | + matrix: |
| 44 | + rust: |
| 45 | + - 1.41.0 # MSRV |
| 46 | + - stable |
| 47 | + steps: |
| 48 | + - uses: actions/checkout@v1 |
| 49 | + - uses: actions-rs/toolchain@v1 |
74 | 50 | with:
|
75 |
| - command: test |
76 |
| - use-cross: ${{ matrix.use_cross }} |
77 |
| - args: --target ${{ matrix.target }} --release --all-features |
| 51 | + profile: minimal |
| 52 | + toolchain: ${{ matrix.rust }} |
| 53 | + override: true |
| 54 | + - run: cargo check --all-features |
| 55 | + - run: cargo test --no-default-features |
| 56 | + - run: cargo test |
| 57 | + - run: cargo test --all-features |
0 commit comments