Skip to content

Commit

Permalink
Check no_std builds for pczt and zcash_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Dec 18, 2024
1 parent 02d18ec commit 4fc520f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ jobs:
matrix:
target:
- wasm32-wasi

- thumbv7em-none-eabihf
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -273,10 +273,18 @@ jobs:
run: |
echo "[patch.crates-io]" >> ./ci-build/Cargo.toml
cat ./crates/Cargo.toml | sed "0,/.\+\(patch.crates.\+\)/d" >> ./ci-build/Cargo.toml
- name: Add zcash_keys as a dependency of the synthetic crate
working-directory: ./ci-build
run: cargo add --no-default-features --path ../crates/zcash_keys
- name: Add pczt as a dependency of the synthetic crate
working-directory: ./ci-build
run: cargo add --no-default-features --path ../crates/pczt
- name: Add zcash_proofs as a dependency of the synthetic crate
if: matrix.target == 'wasm32-wasi'
working-directory: ./ci-build
run: cargo add --no-default-features --path ../crates/zcash_proofs
- name: Add zcash_client_backend as a dependency of the synthetic crate
if: matrix.target == 'wasm32-wasi'
working-directory: ./ci-build
run: cargo add --path ../crates/zcash_client_backend
- name: Copy pinned dependencies into synthetic crate
Expand All @@ -286,7 +294,7 @@ jobs:
run: rustup target add ${{ matrix.target }}
- name: Build for target
working-directory: ./ci-build
run: cargo build --verbose --target ${{ matrix.target }}
run: cargo build --verbose --no-default-features --target ${{ matrix.target }}

bitrot:
name: Bitrot check
Expand Down

0 comments on commit 4fc520f

Please sign in to comment.