|
@@ -30,7 +30,7 @@ install:
|
|
# becuase we want to run it with nighly to avoid having to set BUILD_DUMMY_WASM_BINARY=0
|
|
# becuase we want to run it with nighly to avoid having to set BUILD_DUMMY_WASM_BINARY=0
|
|
# setting that variable requires changing it in a later run of cargo bulid to ensure runtime/build.rs
|
|
# setting that variable requires changing it in a later run of cargo bulid to ensure runtime/build.rs
|
|
# actually builds the runtime .. the behaviour is a bit odd so choosing to avoid messing with it.
|
|
# actually builds the runtime .. the behaviour is a bit odd so choosing to avoid messing with it.
|
|
- - rustup component add clippy --toolchain nightly-2020-05-23
|
|
|
|
|
|
+ - rustup component add clippy
|
|
|
|
|
|
before_script:
|
|
before_script:
|
|
- cargo fmt --all -- --check
|
|
- cargo fmt --all -- --check
|
|
@@ -38,9 +38,9 @@ before_script:
|
|
script:
|
|
script:
|
|
# we set release as build type for all steps to benefit from already compiled packages in prior steps
|
|
# we set release as build type for all steps to benefit from already compiled packages in prior steps
|
|
# skipping clippy ...
|
|
# skipping clippy ...
|
|
- - cargo +nightly-2020-05-23 clippy --release --target=${TARGET} -- -D warnings
|
|
|
|
- - cargo +nightly-2020-05-23 test --release --verbose --all --target=${TARGET}
|
|
|
|
- - WASM_BUILD_TOOLCHAIN=nightly-2020-05-23 cargo +nightly build --release --target=${TARGET}
|
|
|
|
|
|
+ - BUILD_DUMMY_WASM_BINARY=1 cargo clippy --release --target=${TARGET} -- -D warnings
|
|
|
|
+ - cargo test --release --verbose --all --target=${TARGET}
|
|
|
|
+ - BUILD_DUMMY_WASM_BINARY=0 WASM_BUILD_TOOLCHAIN=nightly-2020-05-23 cargo build --release --target=${TARGET}
|
|
|
|
|
|
before_deploy:
|
|
before_deploy:
|
|
|
|
|