interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / cfg-if / .github / workflows / main.yaml

48 lines · 1186 bytes Raw Blame History
1name: CI
2on: [push, pull_request]
3
4permissions:
5 contents: read
6
7env:
8 RUSTDOCFLAGS: -Dwarnings
9 RUSTFLAGS: -Dwarnings
10
11jobs:
12 test:
13 name: Test
14 runs-on: ubuntu-latest
15 strategy:
16 matrix:
17 rust:
18 - "1.32" # msrv
19 - stable
20 - beta
21 - nightly
22 steps:
23 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24 - name: Install Rust ${{ matrix.rust }}
25 run: |
26 rustup self update
27 rustup update ${{ matrix.rust }}
28 rustup default ${{ matrix.rust }}
29 rustc -vV
30 - name: Run tests
31 run: |
32 set -eux
33 # Remove `-Dwarnings` at the MSRV since lints may be different
34 [ "${{ matrix.rust }}" = "1.32" ] && export RUSTFLAGS="--cfg msrv_test"
35 cargo test
36
37 rustfmt:
38 name: Rustfmt
39 runs-on: ubuntu-latest
40 steps:
41 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
42 - name: Install Rust Stable
43 run: |
44 rustup update stable
45 rustup default stable
46 rustup component add rustfmt
47 - name: Run rustfmt
48 run: cargo fmt -- --check