mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-05 20:10:32 +00:00
Merge pull request #81 from zcash/wasm-targets
CI: Build for WASM targets
This commit is contained in:
commit
ee13dbca1a
1 changed files with 23 additions and 0 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
|
@ -24,6 +24,29 @@ jobs:
|
||||||
command: test
|
command: test
|
||||||
args: --verbose --release --all --all-features
|
args: --verbose --release --all --all-features
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Build target ${{ matrix.target }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
target:
|
||||||
|
- wasm32-unknown-unknown
|
||||||
|
- wasm32-wasi
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
- name: Add target
|
||||||
|
run: rustup target add ${{ matrix.target }}
|
||||||
|
- name: cargo build
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: build
|
||||||
|
args: --all-features
|
||||||
|
|
||||||
bitrot:
|
bitrot:
|
||||||
name: Bitrot check
|
name: Bitrot check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue