Merge pull request #265 from str4d/wasm-ci
CI: Build zcash_proofs against WASM targets
This commit is contained in:
commit
18b1ce7401
|
@ -85,6 +85,31 @@ jobs:
|
|||
command: test
|
||||
args: --verbose --release --all -- --ignored
|
||||
|
||||
build:
|
||||
name: Build target ${{ matrix.target }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
- wasm32-unknown-unknown
|
||||
- wasm32-wasi
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: 1.40.0
|
||||
override: true
|
||||
- name: Add target
|
||||
run: rustup target add ${{ matrix.target }}
|
||||
- name: cargo fetch
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fetch
|
||||
- name: Build zcash_proofs for target
|
||||
working-directory: ./zcash_proofs
|
||||
run: cargo build --verbose --no-default-features --target ${{ matrix.target }}
|
||||
|
||||
codecov:
|
||||
name: Code coverage
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue