Add runtime-benchmarks compile/test in CI pipeline (#5371)

* Add `runtime-benchmarks` compile

* Use cargo check and no wasm build
This commit is contained in:
Shawn Tabrizi
2020-03-23 21:57:36 +01:00
committed by GitHub
parent fde05dd236
commit 9fbbdfdfd4
+16
View File
@@ -248,6 +248,22 @@ test-wasmtime:
- WASM_BUILD_NO_COLOR=1 time cargo test --release --verbose --features wasmtime
- sccache -s
test-runtime-benchmarks:
stage: test
<<: *docker-env
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: -Cdebug-assertions=y
RUST_BACKTRACE: 1
except:
variables:
- $DEPLOY_TAG
script:
- cd bin/node/cli
- BUILD_DUMMY_WASM_BINARY=1 time cargo check --verbose --features runtime-benchmarks
- sccache -s
test-linux-stable-int:
<<: *test-linux
except: