- ps: >-
If ($env:Platform -Match "x86") {
$env:VCVARS_PLATFORM="x86"
- $env:TARGET="VC-WIN32"
+ $env:TARGET="VC-WIN32 no-asm"
} Else {
$env:VCVARS_PLATFORM="amd64"
- $env:TARGET="VC-WIN64A"
+ $env:TARGET="VC-WIN64A-masm"
}
- ps: >-
If ($env:Configuration -Match "shared") {
- $env:SHARED="shared"
- } Else {
$env:SHARED=""
+ } Else {
+ $env:SHARED="no-shared"
}
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- - perl Configure %TARGET% no-asm %SHARED%
+ - mkdir _build
+ - cd _build
+ - perl ..\Configure %TARGET% %SHARED%
+ - cd ..
build_script:
+ - cd _build
- nmake
+ - cd ..
test_script:
- - nmake test
+ - cd _build
+ - nmake test V=1
+ - mkdir ..\_install
+ - nmake install install_docs DESTDIR=..\_install
+ - cd ..
notifications:
- provider: Email