environment: global: CRATE_NAME: dedup matrix: - TARGET: i686-pc-windows-gnu CHANNEL: nightly - TARGET: x86_64-pc-windows-gnu CHANNEL: nightly - TARGET: i686-pc-windows-msvc CHANNEL: nightly - TARGET: x86_64-pc-windows-msvc CHANNEL: nightly matrix: fast_finish: true install: - ps: >- If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') { $Env:PATH += ';C:\msys64\mingw64\bin' } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') { $Env:PATH += ';C:\msys64\mingw32\bin' } - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL% - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -Vv - cargo -V test_script: # we don't run the "test phase" when doing deploys - if [%APPVEYOR_REPO_TAG%]==[false] ( cargo test --target %TARGET% --all && cargo test --target %TARGET% --release --all ) before_deploy: # TODO Update this to build the artifacts that matter to you - cargo rustc --target %TARGET% --release --bin dedup -- -C lto - ps: ci\before_deploy.ps1 deploy: artifact: /.*\.zip/ auth_token: secure: R5CNiQXWeK23aW1u56j3qmVimAqttmZuxGZDV1cJ6qsZ6Kvto1WekehvF1ooRZ41 description: '' 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 # and nightly channels. This condition makes sure there is only one release # for such targets and that's generated using the stable channel CHANNEL: nightly appveyor_repo_tag: true provider: GitHub cache: - C:\Users\appveyor\.cargo\registry - target #branches: # only: # Test all branches notifications: - provider: Email on_build_success: false # Building is done in the test phase, so we disable Appveyor's build phase. build: false