summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-01-30 22:09:12 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-02-09 20:10:21 +0200
commit93b9a3ed2952cd741f298d70dad74f87fe4688d1 (patch)
tree77ce1465265e5e0bda5104d639f2163c8d21379a
parent31d89a4ed24987658b0caf8b7fe1e1c0df01ecfb (diff)
downloadmeson-93b9a3ed2952cd741f298d70dad74f87fe4688d1.tar.gz
Remove vs2015 jobs as Azure will stop supporting it.
-rw-r--r--azure-pipelines.yml24
-rw-r--r--ci/azure-steps.yml21
2 files changed, 5 insertions, 40 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index cb441597c..1a9de56d1 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -12,30 +12,6 @@ variables:
jobs:
-- job: vs2015
- pool:
- vmImage: vs2015-win2012r2
-
- strategy:
- matrix:
- vc2015x86ninja:
- arch: x86
- compiler: msvc2015
- backend: ninja
- vc2015x86vs:
- arch: x86
- compiler: msvc2015
- backend: vs2015
-
- steps:
- - powershell: 'Invoke-WebRequest https://www.python.org/ftp/python/3.7.4/python-3.7.4.exe -OutFile c:\py3-setup.exe'
- - script: |
- c:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_doc=0 Include_dev=0 Include_debug=0 TargetDir=c:\Python3
- - script: |
- @echo ##vso[task.prependpath]C:\Python3
- @echo ##vso[task.prependpath]C:\Python3\Scripts
- - template: ci/azure-steps.yml
-
- job: vs2017
pool:
vmImage: VS2017-Win2016
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index 66a7eedcc..1c861e77c 100644
--- a/ci/azure-steps.yml
+++ b/ci/azure-steps.yml
@@ -38,11 +38,8 @@ steps:
DownloadFile -Source 'https://github.com/mesonbuild/cidata/raw/master/win32/pkg-config.exe' -Destination $(System.WorkFolder)\pkg-config.exe
DownloadFile -Source 'https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/msmpisdk.msi' -Destination msmpisdk.msi
DownloadFile -Source 'https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/MSMpiSetup.exe' -Destination MSMpiSetup.exe
- if ($env:compiler -ne 'msvc2015') {
- Start-Process msiexec.exe -ArgumentList '/i msmpisdk.msi /quiet' -Wait
- # installer fails "requires an interactive window station" with vs2015 image
- Start-Process .\MSMpiSetup.exe -ArgumentList '-unattend -full' -Wait
- }
+ Start-Process msiexec.exe -ArgumentList '/i msmpisdk.msi /quiet' -Wait
+ Start-Process .\MSMpiSetup.exe -ArgumentList '-unattend -full' -Wait
# import ms-mpi env vars (set by installer)
foreach ($p in "MSMPI_INC", "MSMPI_LIB32", "MSMPI_LIB64") {
@@ -50,16 +47,9 @@ steps:
Set-Content "env:$p" "$v"
}
- if ($env:compiler -eq 'msvc2015') {
- # add JDK installed in vs2015 image to PATH
- $env:Path = "C:\java\jdk\jdk1.8.0_102\bin\;$env:Path"
- }
-
# install boost (except for clang-cl)
if ($env:arch -eq 'x86') { $boost_bitness = '32' } else { $boost_bitness = '64' }
- if ($env:compiler -eq 'msvc2015') {
- $boost_version = '1.60.0' ; $boost_abi_tag = '14.0'
- } elseif ($env:compiler -eq 'msvc2017') {
+ if ($env:compiler -eq 'msvc2017') {
$boost_version = '1.64.0' ; $boost_abi_tag = '14.1'
}
if ($boost_version) {
@@ -94,11 +84,10 @@ steps:
$origPath = $env:Path
# import visual studio variables
- if ($env:compiler -eq 'msvc2015') {
- $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- } elseif($env:compiler -eq 'msvc2019') {
+ if ($env:compiler -eq 'msvc2019') {
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
} else {
+ # Note: this is also for clangcl
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
}