diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2019-04-11 18:12:11 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2019-04-15 12:07:17 +0100 |
commit | df0be82dd6581d02d2e5a6d706a26113b35b98d5 (patch) | |
tree | 03105361c99149401da9a9897b43061151ff0470 /ci/azure-steps.yml | |
parent | 10749494c81d78b74421e8ed238339b1d067a0b6 (diff) | |
download | meson-df0be82dd6581d02d2e5a6d706a26113b35b98d5.zip meson-df0be82dd6581d02d2e5a6d706a26113b35b98d5.tar.gz meson-df0be82dd6581d02d2e5a6d706a26113b35b98d5.tar.bz2 |
azure: Fix some places where an unexpected compiler is being picked up
Now we have some information in CI logs about what compiler is actually
being used, fix some places where an unexpected compiler is being picked
up.
Avoid picking up gcc-objc and gfortran from PATH in vs2017 image for VS
test runs.
Use clang for objc/objc++ in MSYS2 clang test runs, rather than picking
up gcc from path.
Also install gfortran for fortran tests on Cygwin.
Diffstat (limited to 'ci/azure-steps.yml')
-rw-r--r-- | ci/azure-steps.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index d0f6d09..9d143db 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -5,8 +5,8 @@ steps: exit 0 } - # remove MinGW from path, so we don't find gfortran and try to use it - $env:Path = ($env:Path.Split(';') | Where-Object { $_ -notlike '*mingw*' }) -join ';' + # remove Chocolately, MinGW, Strawberry Perl from path, so we don't find gcc/gfortran and try to use it + $env:Path = ($env:Path.Split(';') | Where-Object { $_ -notmatch 'mingw|Strawberry|Chocolatey' }) -join ';' # download and install prerequisites function DownloadFile([String] $Source, [String] $Destination) { |