From 4bcf1137324b883af27e16b2aaaefa7fa6257193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 3 Mar 2018 18:01:34 +0100 Subject: [PATCH 1/5] Update compiler support. Drops 2.071.2 and adds 2.078.3. --- .travis.yml | 12 ++++-------- README.md | 4 ++-- appveyor.yml | 16 ++++++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 14f1a61..165ae16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,20 +9,20 @@ 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.078.3 + - 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.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 @@ -45,16 +45,12 @@ 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 d: ldc-1.3.0 - os: osx d: ldc-1.2.0 - - os: osx - d: ldc-1.1.0 script: ./travis-ci.sh diff --git a/README.md b/README.md index 101f4b0..9fec467 100644 --- a/README.md +++ b/README.md @@ -27,19 +27,19 @@ Supported compilers The following compilers are tested and supported: +- 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 diff --git a/appveyor.yml b/appveyor.yml index a178668..4558679 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,13 +2,17 @@ platform: x64 environment: matrix: - DC: dmd - DVersion: 2.077.1 + DVersion: 2.078.3 arch: x64 config: winapi - DC: dmd - DVersion: 2.077.1 + DVersion: 2.078.3 arch: x86 config: winapi-optlink + - DC: dmd + DVersion: 2.078.3 + arch: x86_mscoff + config: winapi - DC: dmd DVersion: 2.077.1 arch: x86_mscoff @@ -37,6 +41,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 +65,6 @@ environment: DVersion: 1.2.0 arch: x64 config: winapi - - DC: ldc - DVersion: 1.1.0 - arch: x64 - config: winapi matrix: allow_failures: From 446e96fff3be09a5c56617ba1d62db116f7ef152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 3 Mar 2018 18:19:56 +0100 Subject: [PATCH 2/5] Ignore DMD 2.072.2 build errors caused by old DUB version. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 165ae16..c27f61f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,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 From 27a80b6e0a710d99647eb65237533cd9c401d9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 3 Mar 2018 18:40:36 +0100 Subject: [PATCH 3/5] Add DMD 2.079.0 support. --- .travis.yml | 3 ++- README.md | 1 + appveyor.yml | 8 ++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c27f61f..e3c9418 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ 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.078.3 + - dmd-2.079.0 - dmd-2.072.2 - ldc-1.7.0 - ldc-1.6.0 @@ -18,6 +18,7 @@ d: - ldc-1.3.0 - ldc-1.2.0 - dmd-beta + - dmd-2.078.3 - dmd-2.077.1 - dmd-2.076.1 - dmd-2.075.1 diff --git a/README.md b/README.md index 9fec467..2a007e4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ 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 diff --git a/appveyor.yml b/appveyor.yml index 4558679..ae3f898 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,13 +2,17 @@ platform: x64 environment: matrix: - DC: dmd - DVersion: 2.078.3 + DVersion: 2.079.0 arch: x64 config: winapi - DC: dmd - DVersion: 2.078.3 + 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 From 944ebf5ea9bb4437b677c511e5154b3052e8fd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 3 Mar 2018 19:34:27 +0100 Subject: [PATCH 4/5] Adjust for changed LDC download URLs. --- appveyor.yml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ae3f898..fa5a45f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -108,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 @@ -139,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"; From 2fc71328295c7b55fa5f8e04a22bf575213dd4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 3 Mar 2018 19:50:57 +0100 Subject: [PATCH 5/5] Exclude LDC 1.4.0/macOS. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e3c9418..59b2417 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,6 +49,8 @@ matrix: d: dmd-2.072.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