diff options
| author | Eugene Wissner <belka@caraus.de> | 2017-05-11 06:26:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-11 06:26:59 +0200 |
| commit | 45825946c0e593bda340c9b2a36246f9d3173444 (patch) | |
| tree | 37db67b475689540e16e04329f2868a22c1797db /appveyor.yml | |
| parent | 8afb552d594e3762b24a4ee8868d411a78f53efb (diff) | |
| download | tanya-45825946c0e593bda340c9b2a36246f9d3173444.tar.gz | |
Appveyor (#10)
* Add appveyor.yml
* Try major VC version
* Switch to VC 2015
* Try new version
* Try enterprise
* Try another path
* Change VC template
* Set arch
* Set LINKCMD64
* Fix quotes
* Update LINKCMD64
* remove dir
* Update arch
* Fix syntax
* Set arch to x64
* Remove extra dub downloading
* Remove dub version
* Download dub for 2.071.2
* Use DVersion
* Fix nul in powershell
* Put quotes to commands
* Add badges
Diffstat (limited to 'appveyor.yml')
| -rw-r--r-- | appveyor.yml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..f44263e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,52 @@ +platform: x64 +os: Visual Studio 2017 + +environment: + matrix: + - DC: dmd + DVersion: 2.074.0 + arch: x86 + - DC: dmd + DVersion: 2.073.2 + arch: x86 + - DC: dmd + DVersion: 2.072.2 + arch: x86 + - DC: dmd + DVersion: 2.071.2 + arch: x86 + +skip_tags: true + +install: + - ps: function SetUpDCompiler + { + $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 + + - ps: if($env:DVersion -eq "2.071.2"){ + Invoke-WebRequest "http://code.dlang.org/files/dub-1.2.1-windows-x86.zip" -OutFile "dub.zip"; + 7z x dub.zip -odub > $null; + Move-Item "dub/dub.exe" "C:\dmd2\windows\bin" + } + +before_build: + - ps: $env:PATH += ";C:\dmd2\windows\bin;"; + - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=%arch% + +build_script: + - echo dummy build script - dont remove me + +test_script: + - echo %DC% + - echo %PATH% + - 'dub --version' + - '%DC% --version' + - dub test --arch=x86 --compiler=%DC% |
