Automated update to Github CI to rustc nightly-2024-10-16 #1223
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Cross testing | |
jobs: | |
Cross: | |
name: Cross | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: | |
############ Tier 1 | |
- aarch64-unknown-linux-gnu | |
# - i686-pc-windows-gnu # not supported by cross | |
# - i686-pc-windows-msvc # not supported by cross | |
- i686-unknown-linux-gnu | |
# - x86_64-apple-darwin # proprietary apple stuff | |
- x86_64-pc-windows-gnu | |
# - x86_64-pc-windows-msvc # not supported by cross | |
- x86_64-unknown-linux-gnu | |
############ Tier 2 with Host Tools | |
# - aarch64-apple-darwin # proprietary apple stuff | |
# - aarch64-pc-windows-msvc # not supported by cross | |
- aarch64-unknown-linux-musl | |
- arm-unknown-linux-gnueabi | |
- arm-unknown-linux-gnueabihf | |
- armv7-unknown-linux-gnueabihf | |
- powerpc-unknown-linux-gnu | |
# - powerpc64-unknown-linux-gnu # not supported by cross | |
- powerpc64le-unknown-linux-gnu | |
- riscv64gc-unknown-linux-gnu | |
- s390x-unknown-linux-gnu | |
# - x86_64-unknown-freebsd # not supported by cross | |
# - x86_64-unknown-illumos # not supported by cross | |
- x86_64-unknown-linux-musl | |
# - x86_64-unknown-netbsd # error in tests "error: test failed, to rerun pass '--lib'", disabled for now | |
steps: | |
- name: "Checkout repo" | |
uses: actions/checkout@v4 | |
- uses: Swatinem/[email protected] | |
with: | |
key: ${{ matrix.feature }}${{ matrix.os }} | |
- name: "Select toolchain" | |
uses: dtolnay/rust-toolchain@stable | |
- name: "Install target" | |
run: rustup target add ${{ matrix.arch }} | |
- name: "Install cross" | |
run: cargo install cross | |
- name: "Run cross test" | |
run: cross test --target ${{ matrix.arch }} --verbose |