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: | |
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 > /dev/null | |
- run: cargo install --quiet cargo-show-asm | |
- uses: actions/checkout@v4 | |
- run: cargo fmt --check | |
- run: cargo fetch --quiet --locked | |
- run: cargo --quiet xtask all | |
# TODO: diff the assembly | |
check_minimum_supported_rust_version: | |
runs-on: ubuntu-24.04 | |
steps: | |
- run: sudo apt-get -qq install gcc-multilib qemu-user > /dev/null | |
- run: cargo install --quiet cargo-show-asm | |
- run: | | |
rustup toolchain uninstall default | |
rustup --quiet toolchain install 1.71 --profile=minimal --component=clippy | |
rustup --quiet default 1.71 | |
- uses: actions/checkout@v4 | |
- run: cargo fetch --quiet --locked | |
- run: cargo --quiet xtask all |