Skip to content

Workflow file for this run

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
check_stable:
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get -qq install gcc-multilib qemu-user
- run: cargo install --quiet cargo-show-asm
- uses: actions/checkout@v4
- run: cargo fmt --check
- run: cargo fetch --quiet --locked
- run: cargo clippy --quiet -- --D=warnings
- run: cargo build --quiet --package xtask
- run: cargo --quiet xtask all
- run: git diff --exit-code -- "generated assembly"
# TODO: diff the assembly
# For the MSRV we only care about the code compiling.
check_minimum_supported_rust_version:
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get -qq install gcc-multilib
- run: |
rustup toolchain uninstall stable
rustup --quiet toolchain install 1.71 --profile=minimal
rustup --quiet default 1.71
- uses: actions/checkout@v4
- run: cargo fetch --quiet --locked
- run: cargo build --quiet --package xtask
- run: cargo --quiet xtask check