Browse Source

Properly referencing environment variables in Windows

develop
Drew Short 8 years ago
parent
commit
284a308d7f
  1. 36
      .gitlab-ci.yml

36
.gitlab-ci.yml

@ -146,9 +146,9 @@ build:windows:stable:
RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script:
- rustup update
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo build
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo build
artifacts:
expire_in: 4 hours
paths:
@ -167,9 +167,9 @@ test:windows:stable:
RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script:
- rustup update
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo test
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo test
only:
- master
- develop
@ -185,9 +185,9 @@ release:windows:stable:
variables:
RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script:
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo build --release
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo build --release
artifacts:
expire_in: 4 weeks
paths:
@ -207,9 +207,9 @@ build:windows:nightly:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script:
- rustup update
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo build
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo build
artifacts:
expire_in: 4 hours
paths:
@ -227,9 +227,9 @@ test:windows:nightly:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script:
- rustup update
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo test
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo test
only:
- develop
tags:
@ -244,9 +244,9 @@ release:windows:nightly:
variables:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script:
- rustup run $RUST_TOOLCHAIN rustc -Vv
- rustup run $RUST_TOOLCHAIN cargo -Vv
- rustup run $RUST_TOOLCHAIN cargo build --release
- rustup run %RUST_TOOLCHAIN% rustc -Vv
- rustup run %RUST_TOOLCHAIN% cargo -Vv
- rustup run %RUST_TOOLCHAIN% cargo build --release
artifacts:
expire_in: 1 week
paths:

Loading…
Cancel
Save