Skip to content

Commit 96068a4

Browse files
authored
CI: test PPC32 big endian target using cross (#73)
This allows us to efficiently integration test that all algorithms work on a big endian target.
1 parent ea89514 commit 96068a4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/rustls-rustcrypto.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,22 @@ jobs:
8181
- run: cargo test --features tls12
8282
- name: Test no_std with alloc
8383
run: cargo test --no-default-features --features tls12,alloc
84+
85+
cross:
86+
strategy:
87+
matrix:
88+
include:
89+
- target: powerpc-unknown-linux-gnu
90+
rust: 1.75.0 # MSRV
91+
- target: powerpc-unknown-linux-gnu
92+
rust: stable
93+
runs-on: ubuntu-latest
94+
steps:
95+
- uses: actions/checkout@v4
96+
- run: ${{ matrix.deps }}
97+
- uses: dtolnay/rust-toolchain@master
98+
with:
99+
toolchain: ${{ matrix.rust }}
100+
targets: ${{ matrix.target }}
101+
- uses: RustCrypto/actions/cross-install@master
102+
- run: cross test --release --target ${{ matrix.target }} --all-features

0 commit comments

Comments
 (0)