-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the default feature from cubecl-hip-sys Cargo.toml (#13)
* Remove the default feature from cubecl-hip-sys Cargo.toml * Check for rocm__ conflicts as well * Set a ROCm version in CI * Set default features when possible in build.rs * Fix cargo audit weird bug * Fix format * Checkout repo in CI
- Loading branch information
Showing
5 changed files
with
102 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,18 @@ jobs: | |
checks: | ||
runs-on: amd-rx7600 | ||
steps: | ||
- name: Setup Rust | ||
uses: tracel-ai/github-actions/[email protected] | ||
# -------------------------------------------------------------------------------- | ||
# We don't use our github-action because it seems that the cache does not work well | ||
# with our AMD runner. | ||
# cargo-audit is not found for example whereas it is correctly installed. | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
rust-toolchain: stable | ||
cache-key: stable-linux | ||
linux-pre-cleanup: false | ||
# -------------------------------------------------------------------------------- | ||
components: rustfmt, clippy | ||
toolchain: stable | ||
# -------------------------------------------------------------------------------- | ||
- name: Audit | ||
run: cargo xtask check audit | ||
# -------------------------------------------------------------------------------- | ||
|
@@ -39,12 +44,14 @@ jobs: | |
tests: | ||
runs-on: amd-rx7600 | ||
steps: | ||
- name: Setup Rust | ||
uses: tracel-ai/github-actions/[email protected] | ||
# -------------------------------------------------------------------------------- | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: install rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
rust-toolchain: stable | ||
cache-key: stable-linux | ||
linux-pre-cleanup: false | ||
components: rustfmt, clippy | ||
toolchain: stable | ||
# -------------------------------------------------------------------------------- | ||
- name: Lint | ||
run: cargo xtask check lint | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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