Merge pull request #234 from rust-secure-code/release-v0.7.2 #409
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linux | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: master | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| platform: | |
| - ubuntu-latest | |
| toolchain: | |
| - stable | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: swatinem/rust-cache@v2 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| targets: "wasm32-unknown-unknown,i686-unknown-linux-gnu,x86_64-unknown-linux-musl" | |
| profile: minimal | |
| override: true | |
| - name: "Test on the native x86_64-unknown-linux-gnu" | |
| run: cargo test --all-features --workspace | |
| - name: "Test cross-compiling to x86_64-unknown-linux-musl" | |
| env: | |
| AUDITABLE_TEST_TARGET: "x86_64-unknown-linux-musl" | |
| run: cargo test --all-features --workspace | |
| - name: "Install the 32-bit GCC toolchain" | |
| run: sudo apt-get update && sudo apt-get install gcc-multilib | |
| - name: "Test cross-compiling to i686-unknown-linux-gnu" | |
| env: | |
| AUDITABLE_TEST_TARGET: "i686-unknown-linux-gnu" | |
| run: cargo test --all-features --workspace |