A high-performance inference engine for AI models
basic ci (#155)
uuuvn1e490b8370ee
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.ymlnew file mode 100644index 000000000..e8d82a857--- /dev/null+++ b/.github/actions/setup/action.yml@@ -0,0 +1,11 @@+name: setup+description: Setup dependencies++runs:+ using: composite+ steps:+ - uses: dtolnay/rust-toolchain@stable+ - run: |+ brew install clang-format+ xcodebuild -downloadComponent MetalToolchain+ shell: bashdiff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlnew file mode 100644index 000000000..d1dbc39aa--- /dev/null+++ b/.github/workflows/tests.yml@@ -0,0 +1,69 @@+name: "Tests"++on:+ push:+ branches:+ - main+ pull_request:+ types: [opened, reopened, ready_for_review, synchronize]+ workflow_dispatch:++concurrency:+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}+ cancel-in-progress: true++permissions:+ contents: read++defaults:+ run:+ # For pipefail - https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#exit-codes-and-error-action-preference+ shell: bash++jobs:+ linters:+ name: Linters+ runs-on: macos-26-xlarge++ steps:+ - uses: actions/checkout@v6+ - id: setup+ uses: ./.github/actions/setup++ - name: Check Rust formatting+ if: ${{ always() && steps.setup.outcome == 'success' }}+ run: cargo fmt --check++ - name: Check Metal formatting+ if: ${{ always() && steps.setup.outcome == 'success' }}+ run: ./scripts/clang-format.sh --check++ - name: Check that Cargo.lock is consistent with Cargo.toml+ if: ${{ always() && steps.setup.outcome == 'success' }}+ run: |+ cargo metadata --locked --format-version=1 > /dev/null+ git diff --exit-code -- Cargo.lock++ build:+ name: Build${{ matrix.tracing && ' (tracing)' || '' }}+ runs-on: macos-26-xlarge+ if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}++ strategy:+ matrix:+ tracing: [false, true]++ env:+ CARGO_ENCODED_RUSTFLAGS: "-Dwarnings"++ steps:+ - uses: actions/checkout@v6+ - uses: ./.github/actions/setup++ - name: Build crates+ run: |+ cargo build ${{ matrix.tracing && '--features tracing' || '' }}++ - name: Build tests+ run: |+ cargo test ${{ matrix.tracing && '--features tracing' || '' }} --no-rundiff --git a/CODEOWNERS b/CODEOWNERSindex 3cac34d72..6ed9c9df9 100644--- a/CODEOWNERS+++ b/CODEOWNERS@@ -1,3 +1,4 @@+/.github @uuuvn/crates/benchmarks @alexxale/crates/cli @alexxale/crates/uzu/build @uuuvn@@ -13,4 +14,4 @@/crates/uzu/src/speculators @uuuvn/crates/uzu/src/tracer @alexxale/scripts @alexxale-/tools @alexxale\ No newline at end of file+/tools @alexxale