tanya/appveyor.yml

55 lines
1.2 KiB
YAML
Raw Normal View History

platform: x64
2017-06-13 12:17:14 +02:00
os: Visual Studio 2015
environment:
2017-06-13 12:17:14 +02:00
matrix:
2017-09-01 19:38:44 +02:00
- DC: dmd
2017-12-02 10:40:40 +01:00
DVersion: 2.077.1
2017-09-01 19:38:44 +02:00
arch: x64
- DC: dmd
2017-12-02 10:40:40 +01:00
DVersion: 2.077.1
2017-09-01 19:38:44 +02:00
arch: x86
2017-07-21 05:44:45 +02:00
- DC: dmd
2017-11-04 00:35:47 +01:00
DVersion: 2.076.1
2017-07-21 05:44:45 +02:00
arch: x64
- DC: dmd
2017-11-04 00:35:47 +01:00
DVersion: 2.076.1
2017-07-21 05:44:45 +02:00
arch: x86
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;
}
- ps: SetUpDCompiler
before_build:
2017-06-13 12:17:14 +02:00
- ps: if($env:arch -eq "x86"){
$env:compilersetupargs = "x86";
$env:Darch = "x86";
}
elseif($env:arch -eq "x64"){
$env:compilersetupargs = "amd64";
$env:Darch = "x86_64";
}
- 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%
build_script:
2017-06-13 12:17:14 +02:00
- echo dummy build script - dont remove me
test_script:
2017-06-13 12:17:14 +02:00
- echo %Darch%
- echo %PATH%
- 'dub --version'
- '%DC% --version'
- dub test -b unittest --arch=%Darch% --compiler=%DC%