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/itoa/.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 / itoa / .github / workflows / ci.yml` 126 lines ยท 3333 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, beta, stable, 1.86.0] 28 timeout-minutes: 45 29 steps: 30 - uses: actions/checkout@v6 31 - uses: dtolnay/rust-toolchain@master 32 with: 33 toolchain: ${{matrix.rust}} 34 - name: Enable type layout randomization 35 run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV 36 if: matrix.rust == 'nightly' 37 - run: cargo build 38 - run: cargo test 39 - run: cargo test --release 40 - run: cargo build --no-default-features 41 - run: cargo test --tests --no-default-features 42 - run: cargo test --tests --no-default-features --release 43 - run: cargo build --tests --features no-panic --release 44 if: matrix.rust == 'nightly' 45 - run: cargo bench --no-run 46 if: matrix.rust == 'nightly' 47 - uses: actions/upload-artifact@v6 48 if: matrix.rust == 'nightly' && always() 49 with: 50 name: Cargo.lock 51 path: Cargo.lock 52 continue-on-error: true 53 54 msrv: 55 name: Rust 1.68.0 56 needs: pre_ci 57 if: needs.pre_ci.outputs.continue 58 runs-on: ubuntu-latest 59 timeout-minutes: 45 60 steps: 61 - uses: actions/checkout@v6 62 - uses: dtolnay/rust-toolchain@1.68 63 - run: cargo build 64 - run: cargo build --no-default-features 65 66 doc: 67 name: Documentation 68 needs: pre_ci 69 if: needs.pre_ci.outputs.continue 70 runs-on: ubuntu-latest 71 timeout-minutes: 45 72 env: 73 RUSTDOCFLAGS: -Dwarnings 74 steps: 75 - uses: actions/checkout@v6 76 - uses: dtolnay/rust-toolchain@nightly 77 - uses: dtolnay/install@cargo-docs-rs 78 - run: cargo docs-rs 79 80 miri: 81 name: Miri 82 needs: pre_ci 83 if: needs.pre_ci.outputs.continue 84 runs-on: ubuntu-latest 85 timeout-minutes: 45 86 steps: 87 - uses: actions/checkout@v6 88 - uses: dtolnay/rust-toolchain@miri 89 - run: cargo miri setup 90 - run: cargo miri test 91 env: 92 MIRIFLAGS: -Zmiri-strict-provenance 93 94 clippy: 95 name: Clippy 96 runs-on: ubuntu-latest 97 if: github.event_name != 'pull_request' 98 timeout-minutes: 45 99 steps: 100 - uses: actions/checkout@v6 101 - uses: dtolnay/rust-toolchain@clippy 102 - run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic 103 104 fuzz: 105 name: Fuzz 106 needs: pre_ci 107 if: needs.pre_ci.outputs.continue 108 runs-on: ubuntu-latest 109 timeout-minutes: 45 110 steps: 111 - uses: actions/checkout@v6 112 - uses: dtolnay/rust-toolchain@nightly 113 - uses: dtolnay/install@cargo-fuzz 114 - run: cargo fuzz check 115 116 outdated: 117 name: Outdated 118 runs-on: ubuntu-latest 119 if: github.event_name != 'pull_request' 120 timeout-minutes: 45 121 steps: 122 - uses: actions/checkout@v6 123 - uses: dtolnay/rust-toolchain@stable 124 - uses: dtolnay/install@cargo-outdated 125 - run: cargo outdated --workspace --exit-code 1 126 - run: cargo outdated --manifest-path fuzz/Cargo.toml --exit-code 1