33- job : Ubuntu
44 pool :
55 vmImage : ubuntu-latest
6-
76 steps :
87 - task : UsePythonVersion@0
98 inputs :
@@ -12,25 +11,26 @@ jobs:
1211 - script : |
1312 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
1413 sudo apt update -q
15- sudo apt install -yq --no-install-recommends gfortran-6
14+ sudo apt install -yq --no-install-recommends gcc-6 gfortran-6 g++ -6
1615 curl -Ls https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.zip -o ninja-linux.zip
1716 sudo unzip ninja-linux.zip -d /usr/local/bin/
1817 python -m pip install meson
1918 displayName: 'Install Prereqs'
2019 - script : meson setup build
2120 env :
2221 FC : gfortran-6
22+ CC : gcc-6
23+ CXX : g++-6
2324 displayName : ' Configure build'
2425 - script : meson test -C build
2526 displayName : ' build and test'
2627 - publish : build/meson-logs/testlog.txt
2728 condition : succeededOrFailed()
2829 artifact : LinuxMesonTestLog
2930
30- - job : MacOS
31+ - job : MacMeson
3132 pool :
3233 vmImage : macOS-latest
33-
3434 steps :
3535 - task : UsePythonVersion@0
3636 inputs :
4646 condition : succeededOrFailed()
4747 artifact : MacMesonTestLog
4848
49- - job : WindowsMinGW
49+ - job : WindowsMeson
5050 pool :
5151 vmImage : windows-latest
52-
5352 steps :
5453 - task : UsePythonVersion@0
5554 inputs :
6564 displayName : ' build and test'
6665 - publish : build/meson-logs/testlog.txt
6766 condition : succeededOrFailed()
68- artifact : WindowsMesonTestLog
67+ artifact : WindowsMesonTestLog
68+
69+ - job : WindowsCMake
70+ pool :
71+ vmImage : windows-latest
72+ steps :
73+ - script : cinst -y mingw cmake
74+ displayName : ' Install Prereqs'
75+ - script : cmake -B build
76+ displayName : ' Configure build'
77+ env :
78+ CMAKE_GENERATOR : " MinGW Makefiles"
79+ - script : cmake --build build --parallel
80+ displayName : build
81+ - script : ctest --parallel -V
82+ displayName : run tests
83+ workingDirectory : build
0 commit comments