Skip to content

ci: Add cross-arch builds #3

ci: Add cross-arch builds

ci: Add cross-arch builds #3

Workflow file for this run

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: armv7
distro: ubuntu_latest
- arch: aarch64
distro: ubuntu_latest
- arch: s390x
distro: ubuntu_latest
- arch: ppc64le
distro: ubuntu_latest
steps:
- uses: actions/[email protected]
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
apt install cargo libssl-dev
cargo check