Remove the default feature from cubecl-hip-sys Cargo.toml #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
env: | |
TYPOS_LINK: "https://github.com/crate-ci/typos/releases/download" | |
TYPOS_VERSION: "1.23.4" | |
CUBECL_ROCM_PATH: "/opt/rocm" | |
# Change ROCm version that should be used in CI here | |
CARGO_FEATURE_ROCM__6_3_1: "1" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
checks: | |
runs-on: amd-rx7600 | |
steps: | |
- name: Setup Rust | |
uses: tracel-ai/github-actions/setup-rust@v1.8 | |
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/setup-rust@v1.8 | |
with: | |
rust-toolchain: stable | |
cache-key: stable-linux | |
linux-pre-cleanup: false | |
# -------------------------------------------------------------------------------- | |
- name: Lint | |
run: cargo xtask check lint | |
# -------------------------------------------------------------------------------- | |
- name: Unit Tests (default ROCm version) | |
shell: bash | |
run: cargo xtask test unit | |
# -------------------------------------------------------------------------------- | |
- name: Integration Tests (default ROCm version) | |
shell: bash | |
run: cargo xtask test integration | |
# -------------------------------------------------------------------------------- | |
- name: Documentation Tests | |
shell: bash | |
run: cargo xtask doc tests |