Skip to content

Commit

Permalink
rzup for doc job
Browse files Browse the repository at this point in the history
  • Loading branch information
flaub committed Nov 17, 2024
1 parent 0da552a commit a7ad76f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

workflow_dispatch:

Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
- run: cargo sort --workspace --check
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- run: python license-check.py

bazel:
Expand Down Expand Up @@ -99,7 +99,12 @@ jobs:
- uses: actions/checkout@v3
- uses: risc0/risc0/.github/actions/rustup@4ab1f0bba1b0515819221bebc59f95aad0a6a3a9
- uses: risc0/risc0/.github/actions/sccache@1a373c71585766e4f6985b96c48389daaf69d528
- run: cargo doc --no-deps --exclude=bigint-test-methods --workspace
- run: |
curl -L https://risczero.com/install | bash
echo "$HOME/.risc0/bin" >> $GITHUB_PATH
shell: bash
- run: rzup install rust
- run: cargo doc --no-deps --workspace
- run: sccache --show-stats

# see: https://github.com/orgs/community/discussions/26822
Expand Down
4 changes: 2 additions & 2 deletions zirgen/circuit/keccak/src/prove/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ pub fn keccak_prover() -> Result<Box<dyn KeccakProver>> {
cfg_if! {
if #[cfg(feature = "cuda")] {
self::cuda::keccak_prover()
} else if #[cfg(any(all(target_os = "macos", target_arch = "aarch64"), target_os = "ios"))] {
self::metal::keccak_prover()
// } else if #[cfg(any(all(target_os = "macos", target_arch = "aarch64"), target_os = "ios"))] {
// self::metal::keccak_prover()
} else {
self::cpu::keccak_prover()
}
Expand Down

0 comments on commit a7ad76f

Please sign in to comment.