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/semver/.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 / semver / .github / workflows / ci.yml` 141 lines ยท 3940 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, 1.68.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 test 38 if: matrix.rust != '1.68.0' 39 - run: cargo check --no-default-features 40 - run: cargo check --features serde 41 - run: cargo check --no-default-features --features serde 42 - uses: actions/upload-artifact@v6 43 if: matrix.rust == 'nightly' && always() 44 with: 45 name: Cargo.lock 46 path: Cargo.lock 47 continue-on-error: true 48 49 node: 50 name: Node 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@v6 57 - uses: dtolnay/rust-toolchain@stable 58 - run: npm install semver 59 - run: cargo test 60 env: 61 RUSTFLAGS: --cfg test_node_semver ${{env.RUSTFLAGS}} 62 63 minimal: 64 name: Minimal versions 65 needs: pre_ci 66 if: needs.pre_ci.outputs.continue 67 runs-on: ubuntu-latest 68 timeout-minutes: 45 69 steps: 70 - uses: actions/checkout@v6 71 - uses: dtolnay/rust-toolchain@nightly 72 - run: cargo generate-lockfile -Z minimal-versions 73 - run: cargo check --locked --features serde 74 75 doc: 76 name: Documentation 77 needs: pre_ci 78 if: needs.pre_ci.outputs.continue 79 runs-on: ubuntu-latest 80 timeout-minutes: 45 81 env: 82 RUSTDOCFLAGS: -Dwarnings 83 steps: 84 - uses: actions/checkout@v6 85 - uses: dtolnay/rust-toolchain@nightly 86 - uses: dtolnay/install@cargo-docs-rs 87 - run: cargo docs-rs 88 89 clippy: 90 name: Clippy 91 runs-on: ubuntu-latest 92 if: github.event_name != 'pull_request' 93 timeout-minutes: 45 94 steps: 95 - uses: actions/checkout@v6 96 - uses: dtolnay/rust-toolchain@clippy 97 - run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic 98 99 miri: 100 name: Miri 101 needs: pre_ci 102 if: needs.pre_ci.outputs.continue 103 runs-on: ubuntu-latest 104 env: 105 MIRIFLAGS: -Zmiri-strict-provenance 106 timeout-minutes: 45 107 steps: 108 - uses: actions/checkout@v6 109 - uses: dtolnay/rust-toolchain@miri 110 - name: Run cargo miri test (64-bit little endian) 111 run: cargo miri test --target x86_64-unknown-linux-gnu 112 - name: Run cargo miri test (64-bit big endian) 113 run: cargo miri test --target powerpc64-unknown-linux-gnu 114 - name: Run cargo miri test (32-bit little endian) 115 run: cargo miri test --target i686-unknown-linux-gnu 116 - name: Run cargo miri test (32-bit big endian) 117 run: cargo miri test --target mips-unknown-linux-gnu 118 119 fuzz: 120 name: Fuzz 121 needs: pre_ci 122 if: needs.pre_ci.outputs.continue 123 runs-on: ubuntu-latest 124 timeout-minutes: 45 125 steps: 126 - uses: actions/checkout@v6 127 - uses: dtolnay/rust-toolchain@nightly 128 - uses: dtolnay/install@cargo-fuzz 129 - run: cargo fuzz check 130 131 outdated: 132 name: Outdated 133 runs-on: ubuntu-latest 134 if: github.event_name != 'pull_request' 135 timeout-minutes: 45 136 steps: 137 - uses: actions/checkout@v6 138 - uses: dtolnay/rust-toolchain@stable 139 - uses: dtolnay/install@cargo-outdated 140 - run: cargo outdated --workspace --exit-code 1 141 - run: cargo outdated --manifest-path fuzz/Cargo.toml --exit-code 1