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