Merge pull request #775 from coreos/dependabot/cargo/clap-4.5.21 #356
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
name: Cross build | |
on: [push, pull_request] | |
permissions: | |
actions: read | |
jobs: | |
crossarch-check: | |
runs-on: ubuntu-latest | |
name: Build on ${{ matrix.arch }} | |
strategy: | |
matrix: | |
include: | |
- arch: aarch64 | |
distro: ubuntu_latest | |
- arch: s390x | |
distro: ubuntu_latest | |
- arch: ppc64le | |
distro: ubuntu_latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
set-safe-directory: true | |
- uses: uraimo/[email protected] | |
name: Build | |
id: build | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ${{ matrix.distro }} | |
githubToken: ${{ github.token }} | |
run: | | |
set -xeu | |
apt update -y | |
apt install -y gcc make cargo libssl-dev pkg-config | |
cargo check |