Fixing pipeline some more.

parent 4ee45e8f
Pipeline #69921962 failed with stages
in 4 minutes and 25 seconds
image: 'demilletech/rust:nightly'
.rust-template: &rust-template
.rust-template:
variables:
GIT_SUBMODULE_STRATEGY: recursive
CARGO_HOME: $CI_PROJECT_DIR/cargo
CARGO_INCREMENTAL: 0
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads
before_script:
- rustc --version && cargo --version
cache:
paths:
- target/
- $CARGO_HOME
stages:
- build
- test
build:
<<: *rust-template
.build-template:
extends: .rust-template
stage: build
script:
- cargo build --verbose --all
test:
<<: *rust-template
.test-template:
extends: .rust-template
variables:
CARGO_INCREMENTAL: 0
RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads
stage: test
script:
- curl -LO https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2
......@@ -33,4 +31,28 @@ test:
- |
zip -0 ccov.zip `find . \( -name "access-control*.gc*" \) -print`;
./grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore-dir "/*" -o lcov.info;
bash <(curl -s https://codecov.io/bash) -f lcov.info;
\ No newline at end of file
bash <(curl -s https://codecov.io/bash) -f lcov.info;
build-stable:
extends: .build-template
image: 'demilletech/rust:stable'
build-beta:
extends: .build-template
image: 'demilletech/rust:beta'
build-nightly:
extends: .build-template
image: 'demilletech/rust:nightly'
test-stable:
extends: .test-template
image: 'demilletech/rust:stable'
test-beta:
extends: .test-template
image: 'demilletech/rust:beta'
test-nightly:
extends: .test-template
image: 'demilletech/rust:nightly'
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment