-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cuda): Fix upstream build issues (#113)
* git ignore * cuda ci task * pin cuda action version * clippy fix + metal build * update action versions * update time crate * update risc0 CI toolchain
- Loading branch information
1 parent
aa63201
commit 079d1a0
Showing
19 changed files
with
287 additions
and
144 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 |
---|---|---|
|
@@ -17,8 +17,8 @@ permissions: | |
env: | ||
CARGO_TERM_COLOR: always | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
RISC0_VERSION: "^0.21" | ||
RISC0_TOOLCHAIN_VERSION: v2024-02-08.1 | ||
RISC0_VERSION: "1.0.5" | ||
RISC0_TOOLCHAIN_VERSION: v2024-04-22.0 | ||
|
||
jobs: | ||
test: | ||
|
@@ -29,8 +29,8 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: risc0/risc0/.github/actions/rustup@release-0.21 | ||
- uses: risc0/risc0/.github/actions/sccache@release-0.21 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.0.5 | ||
- uses: risc0/risc0/.github/actions/sccache@v1.0.5 | ||
- uses: risc0/cargo-install@v1 | ||
with: | ||
crate: cargo-binstall | ||
|
@@ -40,23 +40,40 @@ jobs: | |
|
||
clippy: | ||
name: clippy | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
runs-on: [self-hosted, prod, "${{ matrix.os }}"] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: Linux | ||
feature: default | ||
- os: Linux | ||
feature: cuda | ||
- os: macOS | ||
feature: default | ||
- os: macOS | ||
feature: metal | ||
env: | ||
FEATURE: ${{ matrix.feature }} | ||
RISC0_SKIP_BUILD: 1 | ||
RISC0_SKIP_BUILD_KERNELS: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: risc0/risc0/.github/actions/[email protected] | ||
- uses: risc0/risc0/.github/actions/[email protected] | ||
- uses: risc0/clippy-action@main | ||
with: | ||
reporter: 'github-pr-check' | ||
fail_on_error: true | ||
clippy_flags: --workspace --all-targets -- -Dwarnings | ||
- uses: actions/checkout@v4 | ||
- if: matrix.feature == 'cuda' | ||
uses: risc0/risc0/.github/actions/[email protected] | ||
- uses: risc0/risc0/.github/actions/[email protected] | ||
- uses: risc0/risc0/.github/actions/[email protected] | ||
- uses: risc0/clippy-action@main | ||
with: | ||
reporter: 'github-pr-check' | ||
fail_on_error: true | ||
clippy_flags: -F $FEATURE --workspace --all-targets -- -Dwarnings | ||
|
||
fmt: | ||
name: fmt | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: risc0/risc0/.github/actions/rustup@release-0.21 | ||
- uses: risc0/risc0/.github/actions/rustup@v1.0.5 | ||
- run: cargo fmt --all --check |
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 |
---|---|---|
|
@@ -7,3 +7,7 @@ log.txt | |
*.pb | ||
*.zkp | ||
.idea | ||
*.opc | ||
*.zip | ||
*.bin | ||
*.txt |
Oops, something went wrong.