Run the tests with WASM enabled
This commit is contained in:
parent
e1d2df3e20
commit
2973df573a
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue