From 95460f5e3cbad97e1271b245069f7e61756d7478 Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Tue, 29 Jun 2021 16:02:40 +0200 Subject: [PATCH] Add cross testing on big-endian architecture --- .github/workflows/rust.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c2ac4fa6..fb8d39ed 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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