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/log/.github/workflows/main.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 / log / .github / workflows / main.yml` 145 lines ยท 5844 bytes Raw Blame History 1 name: CI 2 on: [push, pull_request] 3 4 # Ensure only read permission is granted 5 permissions: 6 contents: read 7 8 jobs: 9 test: 10 name: Test 11 runs-on: ${{ matrix.os }} 12 strategy: 13 matrix: 14 include: 15 - build: stable 16 os: ubuntu-latest 17 rust: stable 18 - build: beta 19 os: ubuntu-latest 20 rust: beta 21 - build: nightly 22 os: ubuntu-latest 23 rust: nightly 24 - build: macos 25 os: macos-latest 26 rust: stable 27 - build: win32 28 os: windows-latest 29 rust: stable-i686-pc-windows-msvc 30 - build: win64 31 os: windows-latest 32 rust: stable-x86_64-pc-windows-msvc 33 - build: mingw 34 os: windows-latest 35 rust: stable-x86_64-pc-windows-gnu 36 steps: 37 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 38 with: 39 persist-credentials: false 40 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 41 with: 42 toolchain: ${{ matrix.rust }} 43 - uses: taiki-e/install-action@`0abfcd587b70a713fdaa7fb502c885e2112acb15` # v2.75.7 44 with: 45 tool: cargo-hack 46 - run: cargo hack test --feature-powerset --exclude-features max_level_off,max_level_error,max_level_warn,max_level_info,max_level_debug,max_level_trace,release_max_level_off,release_max_level_error,release_max_level_warn,release_max_level_info,release_max_level_debug,release_max_level_trace 47 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml 48 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml --release 49 50 check: 51 name: Check Format and Clippy 52 runs-on: ubuntu-latest 53 steps: 54 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 55 with: 56 persist-credentials: false 57 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 58 with: 59 toolchain: stable 60 components: clippy 61 - run: cargo fmt -- --check 62 - run: cargo fmt --manifest-path test_max_level_features/Cargo.toml -- --check 63 - run: cargo clippy --verbose 64 - run: cargo clippy --verbose --manifest-path test_max_level_features/Cargo.toml 65 66 doc: 67 name: Check Documentation 68 runs-on: ubuntu-latest 69 steps: 70 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 71 with: 72 persist-credentials: false 73 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 74 with: 75 toolchain: stable 76 - name: Run rustdoc 77 env: 78 RUSTDOCFLAGS: "-D warnings" 79 run: cargo doc --verbose --features std,kv,kv_std,kv_sval,kv_serde 80 81 features: 82 name: Feature check 83 runs-on: ubuntu-latest 84 steps: 85 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 86 with: 87 persist-credentials: false 88 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 89 with: 90 toolchain: nightly 91 - run: cargo build --verbose -Z avoid-dev-deps --features kv 92 - run: cargo build --verbose -Z avoid-dev-deps --features "kv std" 93 - run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_sval" 94 - run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_serde" 95 - run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_std" 96 - run: cargo build --verbose -Z avoid-dev-deps --features "kv kv_sval kv_serde" 97 98 minimalv: 99 name: Minimal versions 100 runs-on: ubuntu-latest 101 steps: 102 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 103 with: 104 persist-credentials: false 105 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 106 with: 107 toolchain: nightly 108 - run: cargo build --verbose -Z minimal-versions --features kv 109 - run: cargo build --verbose -Z minimal-versions --features "kv std" 110 - run: cargo build --verbose -Z minimal-versions --features "kv kv_sval" 111 - run: cargo build --verbose -Z minimal-versions --features "kv kv_serde" 112 - run: cargo build --verbose -Z minimal-versions --features "kv kv_std" 113 - run: cargo build --verbose -Z minimal-versions --features "kv kv_sval kv_serde" 114 115 msrv: 116 name: MSRV 117 runs-on: ubuntu-latest 118 steps: 119 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 120 with: 121 persist-credentials: false 122 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 123 with: 124 components: clippy 125 toolchain: "1.71" 126 - uses: taiki-e/install-action@`0abfcd587b70a713fdaa7fb502c885e2112acb15` # v2.75.7 127 with: 128 tool: cargo-hack 129 - run: cargo hack test --feature-powerset --exclude-features max_level_off,max_level_error,max_level_warn,max_level_info,max_level_debug,max_level_trace,release_max_level_off,release_max_level_error,release_max_level_warn,release_max_level_info,release_max_level_debug,release_max_level_trace 130 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml 131 - run: cargo run --verbose --manifest-path test_max_level_features/Cargo.toml --release 132 133 embedded: 134 name: Embedded 135 runs-on: ubuntu-latest 136 steps: 137 - uses: actions/checkout@`0c366fd6a839edf440554fa01a7085ccba70ac98` # v6.0.2 138 with: 139 persist-credentials: false 140 - uses: dtolnay/rust-toolchain@`e97e2d8cc328f1b50210efc529dca0028893a2d9` # v1 141 with: 142 toolchain: stable 143 - run: rustup target add thumbv6m-none-eabi riscv32imc-unknown-none-elf 144 - run: cargo build --verbose --target=thumbv6m-none-eabi 145 - run: cargo build --verbose --target=riscv32imc-unknown-none-elf