aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / rustc_version / .github / workflows / rust.yml
| 1 | name: CI |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: ['master'] |
| 6 | pull_request: |
| 7 | |
| 8 | jobs: |
| 9 | test: |
| 10 | strategy: |
| 11 | matrix: |
| 12 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 13 | rust: [stable, beta, nightly, 1.32.0] |
| 14 | exclude: |
| 15 | - os: macos-latest |
| 16 | rust: beta |
| 17 | - os: windows-latest |
| 18 | rust: beta |
| 19 | - os: macos-latest |
| 20 | rust: nightly |
| 21 | - os: windows-latest |
| 22 | rust: nightly |
| 23 | - os: macos-latest |
| 24 | rust: 1.32.0 |
| 25 | - os: windows-latest |
| 26 | rust: 1.32.0 |
| 27 | |
| 28 | runs-on: ${{ matrix.os }} |
| 29 | |
| 30 | steps: |
| 31 | - uses: actions/checkout@v2 |
| 32 | - uses: actions-rs/toolchain@v1 |
| 33 | with: |
| 34 | profile: minimal |
| 35 | toolchain: ${{ matrix.rust }} |
| 36 | override: true |
| 37 | - uses: actions-rs/cargo@v1 |
| 38 | with: |
| 39 | command: build |
| 40 | args: --all-features --all-targets |
| 41 | - uses: actions-rs/cargo@v1 |
| 42 | with: |
| 43 | command: test |
| 44 | args: --all-features |
| 45 | |
| 46 | lint: |
| 47 | runs-on: ubuntu-latest |
| 48 | steps: |
| 49 | - uses: actions/checkout@v2 |
| 50 | - uses: actions-rs/toolchain@v1 |
| 51 | with: |
| 52 | profile: minimal |
| 53 | toolchain: stable |
| 54 | override: true |
| 55 | components: rustfmt, clippy |
| 56 | - uses: actions-rs/cargo@v1 |
| 57 | with: |
| 58 | command: fmt |
| 59 | args: --all -- --check |
| 60 | - uses: actions-rs/cargo@v1 |
| 61 | if: always() |
| 62 | with: |
| 63 | command: clippy |
| 64 | args: --all-targets --all-features -- -D warnings |
| 65 | |
| 66 | audit: |
| 67 | runs-on: ubuntu-latest |
| 68 | steps: |
| 69 | - uses: actions/checkout@v2 |
| 70 | - uses: EmbarkStudios/cargo-deny-action@v1 |