2
0

appveyor.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. platform:
  2. - x86
  3. - x64
  4. environment:
  5. matrix:
  6. - VSVER: 9
  7. - VSVER: 10
  8. - VSVER: 11
  9. - VSVER: 12
  10. - VSVER: 14
  11. configuration:
  12. - plain
  13. - shared
  14. matrix:
  15. allow_failures:
  16. - platform: x64
  17. VSVER: 9
  18. - platform: x64
  19. VSVER: 10
  20. - platform: x64
  21. VSVER: 11
  22. before_build:
  23. - ps: >-
  24. If ($env:Platform -Match "x86") {
  25. $env:VCVARS_PLATFORM="x86"
  26. $env:TARGET="VC-WIN32"
  27. $env:DO="do_ms"
  28. } Else {
  29. $env:VCVARS_PLATFORM="amd64"
  30. $env:TARGET="VC-WIN64A"
  31. $env:DO="do_win64a"
  32. }
  33. - ps: >-
  34. If ($env:Configuration -Like "*shared*") {
  35. $env:MAK="ntdll.mak"
  36. } Else {
  37. $env:MAK="nt.mak"
  38. }
  39. - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
  40. - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
  41. - perl Configure %TARGET% no-asm
  42. - call ms\%DO%
  43. build_script:
  44. - nmake /f ms\%MAK%
  45. test_script:
  46. - nmake /f ms\%MAK% test