You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #8 from sodgeit/ci/more-cmake-versions-under-test
ci: testing more CMake versions
The CMake versions under test, are the versions available in the supported lts versions of Ubuntu, and the latest version.
Once support for a ubuntu version is dropped, the minimum cmake version of this
project will be updated.
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform.
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
17
17
fail-fast: false
18
18
19
-
# Set up a matrix to run the following 3 configurations:
20
-
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
21
-
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
22
-
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
23
-
#
24
-
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
19
+
# CMake versions under test are the versions available int the supported
20
+
# lts versions of Ubuntu, and the latest version.
21
+
# Once support for a ubuntu version is dropped, the minimum cmake version of this
22
+
# project will be updated.
25
23
matrix:
26
24
os: [ubuntu-latest, windows-latest]
27
-
build_type: [Release]
28
-
c_compiler: [gcc, clang, cl]
29
-
include:
30
-
- os: windows-latest
31
-
c_compiler: cl
32
-
cpp_compiler: cl
33
-
- os: ubuntu-latest
34
-
c_compiler: gcc
35
-
cpp_compiler: g++
36
-
- os: ubuntu-latest
37
-
c_compiler: clang
38
-
cpp_compiler: clang++
25
+
build_type: [Release, Debug]
26
+
cmake_version: ['3.16.3', # 20.04 LTS
27
+
'3.22.1', # 22.04 LTS
28
+
'3.28.3', # 24.04 LTS
29
+
'3.30']
39
30
exclude:
40
31
- os: windows-latest
41
-
c_compiler: gcc
42
-
- os: windows-latest
43
-
c_compiler: clang
44
-
- os: ubuntu-latest
45
-
c_compiler: cl
32
+
cmake_version: '3.16.3'# there seems to be a bug with compiler detection
0 commit comments