Test on DMD and also with -m32mscoff.

This commit is contained in:
Sönke Ludwig 2017-03-09 13:21:07 +01:00
parent de718c4b1c
commit 13b6c1c136

View file

@ -2,11 +2,14 @@ platform: x64
environment: environment:
matrix: matrix:
- DC: dmd - DC: dmd
DVersion: 2.073.0 DVersion: 2.073.1
arch: x64 arch: x64
- DC: dmd - DC: dmd
DVersion: 2.073.0 DVersion: 2.073.1
arch: x86 arch: x86
- DC: dmd
DVersion: 2.073.1
arch: x86_mscoff
- DC: dmd - DC: dmd
DVersion: 2.072.2 DVersion: 2.072.2
arch: x64 arch: x64
@ -65,7 +68,7 @@ install:
} }
} }
- ps: SetUpDCompiler - ps: SetUpDCompiler
- powershell -Command Invoke-WebRequest https://code.dlang.org/files/dub-1.2.0-windows-x86.zip -OutFile dub.zip - powershell -Command Invoke-WebRequest https://code.dlang.org/files/dub-1.2.1-windows-x86.zip -OutFile dub.zip
- 7z x dub.zip -odub > nul - 7z x dub.zip -odub > nul
- set PATH=%CD%\%binpath%;%CD%\dub;%PATH% - set PATH=%CD%\%binpath%;%CD%\dub;%PATH%
- dub --version - dub --version
@ -75,6 +78,10 @@ before_build:
$env:compilersetupargs = "x86"; $env:compilersetupargs = "x86";
$env:Darch = "x86"; $env:Darch = "x86";
} }
elseif($env:arch -eq "x86_mscoff"){
$env:compilersetupargs = "amd64";
$env:Darch = "x86_mscoff";
}
elseif($env:arch -eq "x64"){ elseif($env:arch -eq "x64"){
$env:compilersetupargs = "amd64"; $env:compilersetupargs = "amd64";
$env:Darch = "x86_64"; $env:Darch = "x86_64";