Appveyor config fix

This commit is contained in:
Vincent Prouillet 2018-06-22 14:29:11 +02:00
parent 99657da5e1
commit 7d5ffac1d5

View file

@ -9,8 +9,10 @@ environment:
CRATE_NAME: gutenberg CRATE_NAME: gutenberg
matrix: matrix:
+ - target: x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc
+ RUST_VERSION: 1.25.0 RUST_VERSION: 1.25.0
- target: x86_64-pc-windows-msvc
RUST_VERSION: stable
install: install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
@ -20,7 +22,6 @@ install:
- rustc -Vv - rustc -Vv
- cargo -V - cargo -V
# TODO This is the "test phase", tweak it as you see fit
test_script: test_script:
# we don't run the "test phase" when doing deploys # we don't run the "test phase" when doing deploys
- if [%APPVEYOR_REPO_TAG%]==[false] ( - if [%APPVEYOR_REPO_TAG%]==[false] (
@ -28,7 +29,6 @@ test_script:
) )
before_deploy: before_deploy:
# TODO Update this to build the artifacts that matter to you
- cargo rustc --target %TARGET% --release --bin gutenberg -- -C lto - cargo rustc --target %TARGET% --release --bin gutenberg -- -C lto
- ps: ci\before_deploy.ps1 - ps: ci\before_deploy.ps1
@ -42,11 +42,10 @@ deploy:
secure: YCRPSTItx+m/3jnDfai52dEZNLYUTSEExF2lZoffULDzlv/t2jOR1fzSSIEi/xyB secure: YCRPSTItx+m/3jnDfai52dEZNLYUTSEExF2lZoffULDzlv/t2jOR1fzSSIEi/xyB
description: '' description: ''
on: on:
# TODO Here you can pick which targets will generate binary releases
# In this example, there are some targets that are tested using the stable # In this example, there are some targets that are tested using the stable
# and nightly channels. This condition makes sure there is only one release # and nightly channels. This condition makes sure there is only one release
# for such targets and that's generated using the stable channel # for such targets and that's generated using the stable channel
RUST_VERSION: stable RUST_VERSION: 1.25.0
appveyor_repo_tag: true appveyor_repo_tag: true
provider: GitHub provider: GitHub