Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit e733648

Browse files
committed
ci: Use FEATURES env var consistently
1 parent 27d9dae commit e733648

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.gitlab-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,27 @@ nightly-test:
7878
variables:
7979
FEATURES: "unstable"
8080
script:
81-
- cargo +nightly build --verbose --features="${EXTRA_FEATURES}" || exit 1
82-
- cargo +nightly test --workspace --verbose --features="${EXTRA_FEATURES}"
81+
- cargo +nightly build --verbose --features="${FEATURES}" || exit 1
82+
- cargo +nightly test --workspace --verbose --features="${FEATURES}"
8383

8484
stable-test:
8585
<<: *docker-env
8686
stage: test
8787
variables:
88-
EXTRA_FEATURES: ""
88+
FEATURES: ""
8989
script:
90-
- cargo +stable build --verbose --features="${EXTRA_FEATURES}" || exit 1
91-
- cargo +stable test --workspace --verbose --features="${EXTRA_FEATURES}"
90+
- cargo +stable build --verbose --features="${FEATURES}" || exit 1
91+
- cargo +stable test --workspace --verbose --features="${FEATURES}"
9292

9393
# For now simply collect artifacts
9494
artifacts:
9595
<<: *docker-env
9696
<<: *collect-artifacts
9797
stage: deploy
9898
variables:
99-
EXTRA_FEATURES: "dist-client,dist-server"
99+
FEATURES: "dist-client,dist-server"
100100
script:
101-
- cargo +stable build --release --features="${EXTRA_FEATURES}"
101+
- cargo +stable build --release --features="${FEATURES}"
102102
# collect artifacts
103103
- mkdir -p ./artifacts/sccache/
104104
- mv ./target/release/sccache ./artifacts/sccache/.

0 commit comments

Comments
 (0)