Skip to content

Commit

Permalink
ci: add test on big-endian arch in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vthib committed Apr 8, 2023
1 parent 3b8faec commit ad897e2
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,39 @@ jobs:
- run: |
cd boreal
cargo check --all-features
bigendian:
name: Test big-endian arch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
with:
arch: s390x
distro: ubuntu_latest

# Used to cache the install steps
githubToken: ${{ github.token }}

install: |
# Install rust using rustup
apt-get update -y
apt-get install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# Install deps needed to build C crates
apt-get install -y build-essential
# Install bindgen dependencies
apt-get install -y llvm-dev libclang-dev clang
# Install openssh dev
apt-get install -y libssl-dev
# Install git to speed update of crates.io idnex
apt-get install -y git
run: |
export PATH="~/.cargo/bin:$PATH"
cargo test
cargo test --features authenticode

0 comments on commit ad897e2

Please sign in to comment.