diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index a09175e0577..c7b29f16f51 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -57,3 +57,27 @@ jobs: working-directory: ./aws-lc-rs run: | ./scripts/run-rustls-integration.sh + + sys-crate-tests: + if: github.repository == 'aws/aws-lc-rs' + name: sys crate tests + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, macos-12, macos-13-xlarge, windows-latest ] + features: [ aws-lc-sys, aws-lc-fips-sys ] + steps: + - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - uses: dtolnay/rust-toolchain@stable + id: toolchain + - name: Set Rust toolchain override + run: rustup override set ${{ steps.toolchain.outputs.name }} + - name: Run cargo test + working-directory: ./sys-testing + run: cargo test --features ${{ matrix.features }} --no-default-features + - name: Run cargo run + working-directory: ./sys-testing + run: cargo run --features ${{ matrix.features }} --no-default-features diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8fe825688d0..d203fa777fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,29 +14,6 @@ env: RUST_NIGHTLY_TOOLCHAIN: nightly jobs: - sys-crate-tests: - if: github.repository == 'aws/aws-lc-rs' - name: sys crate tests - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-latest, macos-12 ] - features: [ aws-lc-sys, aws-lc-fips-sys ] - steps: - - uses: actions/checkout@v3 - with: - submodules: 'recursive' - - uses: dtolnay/rust-toolchain@stable - id: toolchain - - name: Set Rust toolchain override - run: rustup override set ${{ steps.toolchain.outputs.name }} - - name: Run cargo test - working-directory: ./sys-testing - run: cargo test --features ${{ matrix.features }} --no-default-features - - name: Run cargo run - working-directory: ./sys-testing - run: cargo run --features ${{ matrix.features }} --no-default-features aws-lc-rs-test: if: github.repository == 'aws/aws-lc-rs'