Files
betterxen/.github/workflows/ci.yml
T
Ranveer Soni 96cff7c66e feat: establish native RDNA-to-Metal recompilation foundation
Add gfx1030 decoding, semantic validation, Metal shader generation, and an independent CPU interpreter for three reproducible compute fixtures. Include native Metal tests, LLVM fixture verification, and the existing CI and Phase 01 handoff.

Verified formatting, all-features Clippy and tests, LLVM decoding, native ARM64 linkage, and all three demo fixtures with Metal API and shader validation enabled.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:41:55 +05:30

48 lines
1.4 KiB
YAML

name: Native Rust checks
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
native-rust:
runs-on: macos-26
timeout-minutes: 15
env:
CARGO_BUILD_JOBS: 3
CARGO_BUILD_TARGET: aarch64-apple-darwin
RUSTUP_TOOLCHAIN: 1.100.0-aarch64-apple-darwin
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Verify runner architecture
run: |
uname -m
test "$(uname -m)" = arm64
test "$(sysctl -n sysctl.proc_translated)" = 0
- name: Install native Rust
run: |
rustup toolchain install "$RUSTUP_TOOLCHAIN" --profile minimal --component rustfmt --component clippy
rustc -vV
- name: Check formatting and lint
run: |
cargo fmt --all -- --check
cargo clippy --locked --workspace --all-targets -- -D warnings
- name: Run CPU tests and dependency checks
run: |
cargo test --locked --workspace
scripts/audit/dependencies.sh
scripts/audit/claims.sh
- name: Inspect native CLI
run: |
cargo build --locked -p xenora
binary=target/aarch64-apple-darwin/debug/xenora
file "$binary"
test "$(lipo -archs "$binary")" = arm64
otool -L "$binary"