Add cross testing on big-endian architecture

This commit is contained in:
Riccardo Casatta 2021-06-29 16:02:40 +02:00
parent 0f4d2cfcaa
commit 95460f5e3c
No known key found for this signature in database
GPG Key ID: FD986A969E450397
1 changed files with 19 additions and 0 deletions

View File

@ -40,6 +40,25 @@ jobs:
env: ${{ matrix.env }}
run: ./contrib/test.sh
Cross:
name: Cross testing
runs-on: ubuntu-latest
steps:
- name: Checkout Crate
uses: actions/checkout@v2
- name: Checkout Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install target
run: rustup target add s390x-unknown-linux-gnu
- name: install cross
run: cargo install cross
- name: run cross test
run: cross test --target s390x-unknown-linux-gnu
Docs:
name: Docs
runs-on: ubuntu-latest