1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

install libsnark for wasm test

This commit is contained in:
schaeff 2019-02-08 18:20:39 +01:00
parent 781b7c3a0d
commit f995d20cc2

View file

@ -16,7 +16,7 @@ jobs:
keys:
- v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Build libsnark
name: Install libsnark prerequisites
command: ./scripts/install_libsnark_prerequisites.sh
- run:
name: Build
@ -46,7 +46,7 @@ jobs:
name: Check format
command: rustup component add rustfmt-preview; cargo fmt --all -- --check
- run:
name: Build libsnark
name: Install libsnark prerequisites
command: ./scripts/install_libsnark_prerequisites.sh
- run:
name: Build
@ -74,6 +74,9 @@ jobs:
- run:
name: Download wasm32 target
command: rustup target add wasm32-unknown-unknown
- run:
name: Install libsnark prerequisites
command: ./scripts/install_libsnark_prerequisites.sh
- run:
name: Run tests with WASM enabled
command: cd zokrates_core && cargo test --release --features wasm -- --test-threads=1
@ -92,7 +95,7 @@ jobs:
keys:
- v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Build libsnark
name: Install libsnark prerequisites
command: ./scripts/install_libsnark_prerequisites.sh
- run:
name: Run integration tests