Skip to content

Add a .gitignore file for the sys crate #43

Add a .gitignore file for the sys crate

Add a .gitignore file for the sys crate #43

Workflow file for this run

name: CI
env:
TYPOS_LINK: "https://github.com/crate-ci/typos/releases/download"
TYPOS_VERSION: "1.23.4"
CUBECL_ROCM_PATH: "/opt/rocm"
ROCM_VERSION_FEATURE: "rocm_622"
on:
push:
branches:
- main
pull_request: {}
jobs:
checks:
runs-on: ubuntu-24.04
steps:
- name: Setup Rust
uses: tracel-ai/github-actions/[email protected]
with:
rust-toolchain: stable
cache-key: stable-linux
linux-pre-cleanup: false
# --------------------------------------------------------------------------------
- name: Audit
run: cargo xtask check audit
# --------------------------------------------------------------------------------
- name: Format
shell: bash
env:
# work around for colors
# see: https://github.com/rust-lang/rustfmt/issues/3385
TERM: xterm-256color
run: cargo xtask check format
# --------------------------------------------------------------------------------
- name: Typos
uses: tracel-ai/github-actions/check-typos@v1
tests:
runs-on: amd-rx7600
steps:
- name: Setup Rust
uses: tracel-ai/github-actions/[email protected]
with:
rust-toolchain: stable
cache-key: stable-linux
linux-pre-cleanup: false
# --------------------------------------------------------------------------------
- name: Lint
run: cargo xtask check lint
# --------------------------------------------------------------------------------
- name: Unit Tests
shell: bash
run: cargo xtask test --features ${{ env.ROCM_VERSION_FEATURE }} unit
# --------------------------------------------------------------------------------
- name: Integration Tests
shell: bash
run: cargo xtask test --features ${{ env.ROCM_VERSION_FEATURE }} integration
# --------------------------------------------------------------------------------
- name: Documentation Tests
shell: bash
run: cargo xtask doc tests