-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 905 Bytes
/
check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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