Skip to content

Commit

Permalink
CI: test PPC32 big endian target using cross (#73)
Browse files Browse the repository at this point in the history
This allows us to efficiently integration test that all algorithms work
on a big endian target.
  • Loading branch information
tarcieri authored Apr 24, 2024
1 parent ea89514 commit 96068a4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/rustls-rustcrypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,22 @@ jobs:
- run: cargo test --features tls12
- name: Test no_std with alloc
run: cargo test --no-default-features --features tls12,alloc

cross:
strategy:
matrix:
include:
- target: powerpc-unknown-linux-gnu
rust: 1.75.0 # MSRV
- target: powerpc-unknown-linux-gnu
rust: stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ${{ matrix.deps }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- uses: RustCrypto/actions/cross-install@master
- run: cross test --release --target ${{ matrix.target }} --all-features

0 comments on commit 96068a4

Please sign in to comment.