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 RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script: script:
- rustup update - 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: artifacts:
expire_in: 4 hours expire_in: 4 hours
paths: paths:
@ -167,9 +167,9 @@ test:windows:stable:
RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script: script:
- rustup update - 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: only:
- master - master
- develop - develop
@ -185,9 +185,9 @@ release:windows:stable:
variables: variables:
RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu RUST_TOOLCHAIN: stable-x86_64-pc-windows-gnu
script: 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: artifacts:
expire_in: 4 weeks expire_in: 4 weeks
paths: paths:
@ -207,9 +207,9 @@ build:windows:nightly:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script: script:
- rustup update - 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: artifacts:
expire_in: 4 hours expire_in: 4 hours
paths: paths:
@ -227,9 +227,9 @@ test:windows:nightly:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script: script:
- rustup update - 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: only:
- develop - develop
tags: tags:
@ -244,9 +244,9 @@ release:windows:nightly:
variables: variables:
RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu RUST_TOOLCHAIN: nightly-x86_64-pc-windows-gnu
script: 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: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:

Loading…
Cancel
Save