build(deps): bump actions/checkout from 2 to 4 #468
This file contains 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
on: [push, pull_request] | |
name: test | |
jobs: | |
sw: | |
name: sw ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup toolchain install ${{ matrix.toolchain }} | |
- name: cargo test | |
run: cargo +${{ matrix.toolchain }} test --features=${{ matrix.features }} ${{ matrix.profile.flag }} | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: | |
- 1.67 # MSRV | |
- stable | |
- beta | |
- nightly | |
features: | |
- | |
- openssl | |
profile: | |
- {name: debug} | |
- {name: release, flag: --release} | |
include: | |
- toolchain: nightly | |
features: rcrypto | |
profile: {name: debug} | |
- toolchain: nightly | |
features: rcrypto | |
profile: {name: release, flag: --release} | |
- toolchain: nightly | |
features: rcrypto,openssl | |
profile: {name: debug} | |
- toolchain: nightly | |
features: rcrypto,openssl | |
profile: {name: release, flag: --release} | |
hw: | |
name: hw ${{ matrix.toolchain }} ${{ matrix.profile.name }} * | |
runs-on: [self-hosted, linux, sgx1] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup toolchain install ${{ matrix.toolchain }} | |
- name: cargo test | |
run: cargo +${{ matrix.toolchain }} test --all-features ${{ matrix.profile.flag }} | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: | |
- nightly | |
profile: | |
- name: debug | |
- name: release | |
flag: --release |