appveyor.yml 698 B

123456789101112131415161718192021
  1. environment:
  2. matrix:
  3. - TARGET: i686-pc-windows-msvc
  4. - TARGET: x86_64-pc-windows-msvc
  5. install:
  6. - git submodule update --init
  7. - curl -sSf -o rustup-init.exe https://win.rustup.rs
  8. - rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain nightly -y
  9. - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  10. - if "%TARGET%"=="i686-pc-windows-msvc" ( rustup target add %TARGET% )
  11. - rustc -Vv
  12. - cargo -V
  13. build: false
  14. test_script:
  15. - cargo build --target %TARGET%
  16. - cargo build --release --target %TARGET%
  17. - cargo test --no-default-features --features gen-tests --target %TARGET%
  18. - cargo test --no-default-features --features gen-tests --release --target %TARGET%