A now defunct web server engine that is notable for its overuse of unsafe code, the memory safety bugs caused by that, and its deletion by its creator.
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.

42 lines
1.2 KiB

  1. environment:
  2. global:
  3. PROJECT_NAME: actix-web
  4. matrix:
  5. # Stable channel
  6. - TARGET: i686-pc-windows-msvc
  7. CHANNEL: stable
  8. - TARGET: x86_64-pc-windows-gnu
  9. CHANNEL: stable
  10. - TARGET: x86_64-pc-windows-msvc
  11. CHANNEL: stable
  12. # Nightly channel
  13. - TARGET: i686-pc-windows-msvc
  14. CHANNEL: nightly
  15. - TARGET: x86_64-pc-windows-gnu
  16. CHANNEL: nightly
  17. - TARGET: x86_64-pc-windows-msvc
  18. CHANNEL: nightly
  19. # Install Rust and Cargo
  20. # (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
  21. install:
  22. - ps: >-
  23. If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
  24. $Env:PATH += ';C:\msys64\mingw64\bin'
  25. } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
  26. $Env:PATH += ';C:\MinGW\bin'
  27. }
  28. - curl -sSf -o rustup-init.exe https://win.rustup.rs
  29. - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
  30. - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  31. - rustc -Vv
  32. - cargo -V
  33. # 'cargo test' takes care of building for us, so disable Appveyor's build stage.
  34. build: false
  35. # Equivalent to Travis' `script` phase
  36. test_script:
  37. - cargo clean
  38. - cargo test --no-default-features --features="flate2-rust"