2017-05-11 06:26:59 +02:00
|
|
|
platform: x64
|
2017-06-13 12:17:14 +02:00
|
|
|
os: Visual Studio 2015
|
2017-05-11 06:26:59 +02:00
|
|
|
|
|
|
|
environment:
|
2017-06-13 12:17:14 +02:00
|
|
|
matrix:
|
2019-03-19 08:47:39 +01:00
|
|
|
- DC: dmd
|
2019-04-14 07:41:26 +02:00
|
|
|
DVersion: 2.085.1
|
2019-03-19 08:47:39 +01:00
|
|
|
arch: x64
|
|
|
|
- DC: dmd
|
2019-04-14 07:41:26 +02:00
|
|
|
DVersion: 2.085.1
|
2019-03-19 08:47:39 +01:00
|
|
|
arch: x86
|
2018-09-03 09:55:19 +02:00
|
|
|
- DC: dmd
|
2019-03-23 06:41:51 +01:00
|
|
|
DVersion: 2.081.2
|
2018-09-03 09:55:19 +02:00
|
|
|
arch: x64
|
|
|
|
- DC: dmd
|
2019-03-23 06:41:51 +01:00
|
|
|
DVersion: 2.081.2
|
2018-01-04 05:36:46 +01:00
|
|
|
arch: x86
|
2017-05-11 06:26:59 +02:00
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: function SetUpDCompiler
|
|
|
|
{
|
2017-06-13 12:17:14 +02:00
|
|
|
$env:toolchain = "msvc";
|
|
|
|
$version = $env:DVersion;
|
|
|
|
Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z";
|
|
|
|
echo "finished.";
|
|
|
|
pushd c:\\;
|
|
|
|
7z x dmd.7z > $null;
|
|
|
|
popd;
|
2017-05-11 06:26:59 +02:00
|
|
|
}
|
|
|
|
- ps: SetUpDCompiler
|
|
|
|
|
|
|
|
before_build:
|
2017-06-13 12:17:14 +02:00
|
|
|
- ps: if($env:arch -eq "x86"){
|
|
|
|
$env:compilersetupargs = "x86";
|
2018-08-26 00:02:51 +02:00
|
|
|
$env:Darch = "x86_mscoff";
|
2017-06-13 12:17:14 +02:00
|
|
|
}
|
|
|
|
elseif($env:arch -eq "x64"){
|
|
|
|
$env:compilersetupargs = "amd64";
|
|
|
|
$env:Darch = "x86_64";
|
|
|
|
}
|
2017-05-11 06:26:59 +02:00
|
|
|
- ps: $env:PATH += ";C:\dmd2\windows\bin;";
|
2017-06-13 12:17:14 +02:00
|
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall" %compilersetupargs%
|
2017-05-11 06:26:59 +02:00
|
|
|
|
|
|
|
build_script:
|
2017-06-13 12:17:14 +02:00
|
|
|
- echo dummy build script - dont remove me
|
2017-05-11 06:26:59 +02:00
|
|
|
|
|
|
|
test_script:
|
2017-06-13 12:17:14 +02:00
|
|
|
- echo %Darch%
|
|
|
|
- echo %PATH%
|
|
|
|
- 'dub --version'
|
|
|
|
- '%DC% --version'
|
2019-03-02 08:01:58 +01:00
|
|
|
- dub test :meta -b unittest --arch=%Darch% --compiler=%DC%
|
2019-03-05 20:25:26 +01:00
|
|
|
- dub test :sys -b unittest --arch=%Darch% --compiler=%DC%
|
|
|
|
- dub test :os -b unittest --arch=%Darch% --compiler=%DC%
|
|
|
|
- dub test :encoding -b unittest --arch=%Darch% --compiler=%DC%
|
2019-03-18 13:03:52 +01:00
|
|
|
- dub test :middle -b unittest --arch=%Darch% --compiler=%DC%
|
|
|
|
- dub test :test -b unittest --arch=%Darch% --compiler=%DC%
|
2017-06-13 12:17:14 +02:00
|
|
|
- dub test -b unittest --arch=%Darch% --compiler=%DC%
|