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.

73 lines
1.9 KiB

  1. # Appveyor configuration template for Rust using rustup for Rust installation
  2. # https://github.com/starkat99/appveyor-rust
  3. ## Operating System (VM environment) ##
  4. # Rust needs at least Visual Studio 2013 Appveyor OS for MSVC targets.
  5. os: Visual Studio 2015
  6. ## Build Matrix ##
  7. environment:
  8. matrix:
  9. ### MSVC Toolchains ###
  10. # Stable 64-bit MSVC
  11. - channel: stable
  12. target: x86_64-pc-windows-msvc
  13. # Stable 32-bit MSVC
  14. - channel: stable
  15. target: i686-pc-windows-msvc
  16. # Beta 64-bit MSVC
  17. - channel: beta
  18. target: x86_64-pc-windows-msvc
  19. # Beta 32-bit MSVC
  20. - channel: beta
  21. target: i686-pc-windows-msvc
  22. # Nightly 64-bit MSVC
  23. - channel: nightly
  24. target: x86_64-pc-windows-msvc
  25. # Nightly 32-bit MSVC
  26. - channel: nightly
  27. target: i686-pc-windows-msvc
  28. ### GNU Toolchains ###
  29. # Stable 64-bit GNU
  30. - channel: stable
  31. target: x86_64-pc-windows-gnu
  32. # Stable 32-bit GNU
  33. - channel: stable
  34. target: i686-pc-windows-gnu
  35. # Beta 64-bit GNU
  36. - channel: beta
  37. target: x86_64-pc-windows-gnu
  38. # Beta 32-bit GNU
  39. - channel: beta
  40. target: i686-pc-windows-gnu
  41. # Nightly 64-bit GNU
  42. - channel: nightly
  43. target: x86_64-pc-windows-gnu
  44. # Nightly 32-bit GNU
  45. - channel: nightly
  46. target: i686-pc-windows-gnu
  47. ## Install Script ##
  48. install:
  49. - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  50. - rustup-init -yv --default-toolchain %channel% --default-host %target%
  51. - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  52. - rustc -vV
  53. - cargo -vV
  54. ## Build Script ##
  55. # This prevents the "directory does not contain a project or solution file"
  56. # error.
  57. build: false
  58. # Uses 'cargo build' to build. AppVeyor cannot run tests on this crate as it
  59. # redirects the console's output, and its state then cannot be retrieved, let
  60. # alone modified.
  61. test_script:
  62. - cargo build --verbose %cargoflags%