aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
GitHub aien-dev/aienux#248 (code only)
Apply it
git checkout -b patch-46221b96a727dcad fff3c3bb9723d8c6d008f117608b704757537fde curl -fsSL https://interplane.io/drakestapleton/aienux/patches/46221b96a727dcad.patch | git am
Provenance
github-import 1
aien-dev/aienux
248
253cdd32b5f7728a63d86d3d939303f92a86d51b
{"kind":"github-import","owner":"aien-dev","repo":"aienux","number":248,"url":"https://github.com/aien-dev/aienux/pull/248","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:03Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.github/workflows/infer-crate.yml b/.github/workflows/infer-crate.yml new file mode 100644 index 00000000..8cc55121 --- /dev/null +++ b/.github/workflows/infer-crate.yml @@ -0,0 +1,47 @@ +name: Inference crate (aienos-infer) + +# Host checks for the no_std inference crate (aienos#34). The retired "CI" +# workflow (ci.yml) is disabled on GitHub since the move to the C kernel, so +# this is the only automatic check for crates/aienos-infer. Real-model golden +# tests skip when the model file is absent; the ggml fixtures always run. +on: + pull_request: + paths: + - "crates/aienos-infer/**" + - "Cargo.toml" + - "Cargo.lock" + - ".github/workflows/infer-crate.yml" + push: + branches: [main] + paths: + - "crates/aienos-infer/**" + +permissions: + contents: read + +jobs: + infer-host: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: clippy, rustfmt + targets: aarch64-unknown-none + - name: crate present? + id: present + run: | + if [ -d crates/aienos-infer ]; then echo "yes=true" >> "$GITHUB_OUTPUT"; else echo "crates/aienos-infer absent on this ref; nothing to check"; echo "yes=false" >> "$GITHUB_OUTPUT"; fi + - name: fmt + if: steps.present.outputs.yes == 'true' + run: cargo fmt -p aienos-infer --check + - name: clippy + if: steps.present.outputs.yes == 'true' + run: cargo clippy -p aienos-infer --all-targets -- -D warnings + - name: test + if: steps.present.outputs.yes == 'true' + run: cargo test -p aienos-infer + - name: no_std build (aarch64-unknown-none) + if: steps.present.outputs.yes == 'true' + run: cargo build -p aienos-infer --target aarch64-unknown-none