No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. environment:
  2. matrix:
  3. # MinGW
  4. # - TARGET: i686-pc-windows-gnu
  5. # RUST_VERSION: nightly
  6. # - TARGET: x86_64-pc-windows-gnu
  7. # RUST_VERSION: nightly
  8. # MSVC
  9. # - TARGET: i686-pc-windows-msvc
  10. # RUST_VERSION: nightly
  11. - TARGET: x86_64-pc-windows-msvc
  12. RUST_VERSION: nightly
  13. - TARGET: x86_64-pc-windows-msvc
  14. RUST_VERSION: stable
  15. - TARGET: x86_64-pc-windows-msvc
  16. RUST_VERSION: beta
  17. install:
  18. - ps: >-
  19. If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
  20. $Env:PATH += ';C:\msys64\mingw64\bin'
  21. } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
  22. $Env:PATH += ';C:\msys64\mingw32\bin'
  23. }
  24. - curl -sSf -o rustup-init.exe https://win.rustup.rs/
  25. - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
  26. - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  27. - rustc -Vv
  28. - cargo -V
  29. test_script:
  30. # If you need to run additional steps during testing, they should be placed
  31. # inside this block
  32. - if [%APPVEYOR_REPO_TAG%]==[false] (
  33. cargo test --target %TARGET% &&
  34. cargo test --target %TARGET% --release
  35. )
  36. cache:
  37. - C:\Users\appveyor\.cargo\registry
  38. - target
  39. branches:
  40. only:
  41. # release tag format is "vX.Y.Z"
  42. - /^v\d+\.\d+\.\d+.*$/
  43. - master
  44. notifications:
  45. - provider: Email
  46. on_build_success: false
  47. # Building is done in the test phase, so we disable Appveyor's build phase.
  48. build: false