1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

Run the tests with WASM enabled

This commit is contained in:
Guillaume Ballet 2019-01-14 17:55:45 +01:00
parent e1d2df3e20
commit 2973df573a
2 changed files with 5 additions and 1 deletions

View file

@ -30,6 +30,9 @@ jobs:
- run:
name: Run tests
command: WITH_LIBSNARK=1 LIBSNARK_SOURCE_PATH=$HOME/libsnark RUSTFLAGS="-D warnings" cargo test --release -- --test-threads=1
- run:
name: Run tests with WASM enabled
command: cd zokrates_core && cargo test --release --features wasm -- --test-threads=1
- run:
name: Run integration tests
command: WITH_LIBSNARK=1 LIBSNARK_SOURCE_PATH=$HOME/libsnark RUSTFLAGS="-D warnings" cargo test --release -- --ignored

View file

@ -9,6 +9,7 @@ build = "build.rs"
[features]
default = []
libsnark = []
wasm = []
[dependencies]
libc = "0.2.0"
@ -36,4 +37,4 @@ assert_cli = "0.5"
[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
cmake = "0.1.31"
parity-wasm = "0.35.3"
parity-wasm = "0.35.3"