Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/quote/.github/workflows/ci.yml # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / quote / .github / workflows / ci.yml` 112 lines ยท 2861 bytes Raw Blame History 1 name: CI 2 3 on: 4 push: 5 pull_request: 6 workflow_dispatch: 7 schedule: [cron: "40 1 * * *"] 8 9 permissions: 10 contents: read 11 12 env: 13 RUSTFLAGS: -Dwarnings 14 15 jobs: 16 pre_ci: 17 uses: dtolnay/.github/.github/workflows/pre_ci.yml@master 18 19 test: 20 name: Rust ${{matrix.rust}} 21 needs: pre_ci 22 if: needs.pre_ci.outputs.continue 23 runs-on: ubuntu-latest 24 strategy: 25 fail-fast: false 26 matrix: 27 rust: [nightly, stable, beta, 1.85.0, 1.71.0] 28 timeout-minutes: 45 29 steps: 30 - uses: actions/checkout@v7 31 - uses: dtolnay/rust-toolchain@master 32 with: 33 toolchain: ${{matrix.rust}} 34 components: rust-src 35 - name: Enable type layout randomization 36 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV 37 if: matrix.rust == 'nightly' 38 - run: cargo check 39 - run: cargo test 40 if: matrix.rust != '1.71.0' 41 - run: cargo run --manifest-path benches/Cargo.toml 42 - uses: actions/upload-artifact@v7 43 if: matrix.rust == 'nightly' && always() 44 with: 45 name: Cargo.lock 46 path: Cargo.lock 47 continue-on-error: true 48 49 minimal: 50 name: Minimal versions 51 needs: pre_ci 52 if: needs.pre_ci.outputs.continue 53 runs-on: ubuntu-latest 54 timeout-minutes: 45 55 steps: 56 - uses: actions/checkout@v7 57 - uses: dtolnay/rust-toolchain@nightly 58 - run: cargo generate-lockfile -Z minimal-versions 59 - run: cargo check --locked 60 61 doc: 62 name: Documentation 63 needs: pre_ci 64 if: needs.pre_ci.outputs.continue 65 runs-on: ubuntu-latest 66 timeout-minutes: 45 67 env: 68 RUSTDOCFLAGS: -Dwarnings 69 steps: 70 - uses: actions/checkout@v7 71 - uses: dtolnay/rust-toolchain@nightly 72 with: 73 components: rust-src 74 - uses: dtolnay/install@cargo-docs-rs 75 - run: cargo docs-rs 76 77 clippy: 78 name: Clippy 79 runs-on: ubuntu-latest 80 if: github.event_name != 'pull_request' 81 timeout-minutes: 45 82 steps: 83 - uses: actions/checkout@v7 84 - uses: dtolnay/rust-toolchain@nightly 85 with: 86 components: clippy, rust-src 87 - run: cargo clippy --tests --workspace -- -Dclippy::all -Dclippy::pedantic 88 89 miri: 90 name: Miri 91 needs: pre_ci 92 if: needs.pre_ci.outputs.continue 93 runs-on: ubuntu-latest 94 timeout-minutes: 45 95 steps: 96 - uses: actions/checkout@v7 97 - uses: dtolnay/rust-toolchain@miri 98 - run: cargo miri setup 99 - run: cargo miri test 100 env: 101 MIRIFLAGS: -Zmiri-strict-provenance 102 103 outdated: 104 name: Outdated 105 runs-on: ubuntu-latest 106 if: github.event_name != 'pull_request' 107 timeout-minutes: 45 108 steps: 109 - uses: actions/checkout@v7 110 - uses: dtolnay/rust-toolchain@stable 111 - uses: dtolnay/install@cargo-outdated 112 - run: cargo outdated --workspace --exit-code 1