summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines.yml3
-rw-r--r--ci/azure-steps.yml4
2 files changed, 4 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 483f1eb2b..d408762ab 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -73,6 +73,7 @@ jobs:
- script: |
%CYGWIN_ROOT%\cygwinsetup.exe -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -g -P ^
cmake,^
+ gcc-fortran,^
gcc-objc++,^
gcc-objc,^
git,^
@@ -154,7 +155,7 @@ jobs:
set BOOST_ROOT=
set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
set PATHEXT=%PATHEXT%;.py
- if %compiler%==clang ( set CC=clang && set CXX=clang++ )
+ if %compiler%==clang ( set CC=clang && set CXX=clang++ && set OBJC=clang && set OBJCXX=clang++ )
%MSYS2_ROOT%\usr\bin\bash -lc "MSYSTEM= python3 run_tests.py --backend=ninja"
env:
CHERE_INVOKING: yes
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index d0f6d0935..9d143db7d 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) {