Skip to content

get cargo in scope

get cargo in scope #4

Workflow file for this run

name: s390x - Build & Test
on:
push:
pull_request:
branches: ["main", "dev"]
workflow_dispatch:
merge_group:
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
s390x:
runs-on: ubuntu-latest
name: Build on ubuntu-latest s390x
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
name: Run
id: runcmd
with:
arch: s390x
distro: ubuntu22.04
# Speed up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
run: |
apt-get -y update
apt-get install -y curl clang
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
cargo build --verbose
cargo build --verbose --release
cargo test --verbose
cargo test --verbose --release