Merge pull request #52 from vibe-d/update_compiler_support

Update compiler support.
This commit is contained in:
Sönke Ludwig 2018-03-03 19:55:06 +01:00 committed by GitHub
commit 79226e2c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 22 deletions

View file

@ -9,20 +9,21 @@ d:
# this way the overall test time gets cut down (GDC/LDC are a lot
# slower tham DMD, so they should be started early), while still
# catching most DMD version related build failures early
- dmd-2.077.1
- dmd-2.071.2
- dmd-2.079.0
- dmd-2.072.2
- ldc-1.7.0
- ldc-1.6.0
- ldc-1.5.0
- ldc-1.4.0
- ldc-1.3.0
- ldc-1.2.0
- ldc-1.1.0
- dmd-beta
- dmd-2.078.3
- dmd-2.077.1
- dmd-2.076.1
- dmd-2.075.1
- dmd-2.074.1
- dmd-2.073.2
- dmd-2.072.2
env:
- CONFIG=select
@ -33,6 +34,7 @@ env:
matrix:
allow_failures:
- d: dmd-beta
- d: dmd-2.072.2 # too old DUB version on Travis-CI
exclude:
- env: CONFIG=libasync
- os: osx
@ -45,16 +47,14 @@ matrix:
d: dmd-2.073.2
- os: osx
d: dmd-2.072.2
- os: osx
d: dmd-2.071.2
- os: osx
d: dmd-beta
- os: osx # requires a newer libcurl than available
d: ldc-1.4.0
- os: osx
d: ldc-1.3.0
- os: osx
d: ldc-1.2.0
- os: osx
d: ldc-1.1.0
script: ./travis-ci.sh

View file

@ -27,19 +27,20 @@ Supported compilers
The following compilers are tested and supported:
- DMD 2.079.0
- DMD 2.078.3
- DMD 2.077.1
- DMD 2.076.1
- DMD 2.075.1
- DMD 2.074.1
- DMD 2.073.2
- DMD 2.072.2
- DMD 2.071.2
- LDC 1.7.0
- LDC 1.6.0
- LDC 1.5.0
- LDC 1.4.0
- LDC 1.3.0
- LDC 1.2.0
- LDC 1.1.0
Driver development status

View file

@ -2,13 +2,21 @@ platform: x64
environment:
matrix:
- DC: dmd
DVersion: 2.077.1
DVersion: 2.079.0
arch: x64
config: winapi
- DC: dmd
DVersion: 2.077.1
DVersion: 2.079.0
arch: x86
config: winapi-optlink
- DC: dmd
DVersion: 2.079.0
arch: x86_mscoff
config: winapi
- DC: dmd
DVersion: 2.078.3
arch: x86_mscoff
config: winapi
- DC: dmd
DVersion: 2.077.1
arch: x86_mscoff
@ -37,6 +45,10 @@ environment:
DVersion: 2.071.1
arch: x86
config: winapi-optlink
- DC: ldc
DVersion: 1.7.0
arch: x64
config: winapi
- DC: ldc
DVersion: 1.6.0
arch: x64
@ -57,10 +69,6 @@ environment:
DVersion: 1.2.0
arch: x64
config: winapi
- DC: ldc
DVersion: 1.1.0
arch: x64
config: winapi
matrix:
allow_failures:
@ -100,11 +108,20 @@ install:
}
$env:toolchain = "msvc";
$version = $env:DVersion;
Invoke-WebRequest "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-win64-msvc.zip" -OutFile "c:\ldc.zip";
echo "finished.";
pushd c:\\;
7z x ldc.zip > $null;
popd;
if ([System.Version]$version -lt [System.Version]"1.7.0") {
Invoke-WebRequest "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-win64-msvc.zip" -OutFile "c:\ldc.zip";
echo "finished.";
pushd c:\\;
7z x ldc.zip > $null;
popd;
}
else {
Invoke-WebRequest "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-windows-multilib.7z" -OutFile "c:\ldc.7z";
echo "finished.";
pushd c:\\;
7z x ldc.7z > $null;
popd;
}
}
}
- ps: SetUpDCompiler
@ -131,7 +148,11 @@ before_build:
}
elseif($env:DC -eq "ldc"){
$version = $env:DVersion;
$env:PATH += ";C:\ldc2-$($version)-win64-msvc\bin";
if ([System.Version]$version -lt [System.Version]"1.7.0") {
$env:PATH += ";C:\ldc2-$($version)-win64-msvc\bin";
} else {
$env:PATH += ";C:\ldc2-$($version)-windows-multilib\bin";
}
$env:DC = "ldc2";
}
- ps: $env:compilersetup = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall";