Skip to content

Commit

Permalink
Sys crate testing for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 29, 2024
1 parent ce03a00 commit 823669f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 0 additions & 23 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 823669f

Please sign in to comment.