File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 27
27
- name : Setup build environment
28
28
uses : lukka/get-cmake@latest
29
29
with :
30
- cmakeVersion : " ~3.25 .0"
30
+ cmakeVersion : " ~3.28 .0"
31
31
ninjaVersion : " ^1.11.1"
32
32
- name : Setup MSVC
33
33
if : startsWith(matrix.presets.platform, 'windows')
80
80
- name : Install Ninja
81
81
uses : lukka/get-cmake@latest
82
82
with :
83
- cmakeVersion : " ~3.25 .0"
83
+ cmakeVersion : " ~4.0 .0"
84
84
ninjaVersion : " ^1.11.1"
85
85
- name : Setup MSVC
86
86
if : startsWith(matrix.platform.os, 'windows')
@@ -139,7 +139,7 @@ jobs:
139
139
- name : Setup build environment
140
140
uses : lukka/get-cmake@latest
141
141
with :
142
- cmakeVersion : " ~3.25 .0"
142
+ cmakeVersion : " ~3.28 .0"
143
143
ninjaVersion : " ^1.11.1"
144
144
- name : Print installed softwares
145
145
run : |
@@ -166,10 +166,10 @@ jobs:
166
166
matrix :
167
167
compilers :
168
168
- class : GNU
169
- version : 14
169
+ version : 15
170
170
toolchain : " cmake/gnu-toolchain.cmake"
171
171
- class : GNU
172
- version : 13
172
+ version : 14
173
173
toolchain : " cmake/gnu-toolchain.cmake"
174
174
- class : LLVM
175
175
version : 20
@@ -183,7 +183,7 @@ jobs:
183
183
- name : Setup build environment
184
184
uses : lukka/get-cmake@latest
185
185
with :
186
- cmakeVersion : " ~3.25 .0"
186
+ cmakeVersion : " ~4.0 .0"
187
187
ninjaVersion : " ^1.11.1"
188
188
- name : Install Compiler
189
189
id : install-compiler
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if(CMAKE_CXX_MODULE_STD)
8
8
set (CMAKE_CXX_STANDARD_REQUIRED OFF )
9
9
endif ()
10
10
11
- cmake_minimum_required (VERSION 3.25 ...4.0)
11
+ cmake_minimum_required (VERSION 3.28 ...4.0)
12
12
13
13
project (
14
14
beman.scope
@@ -41,7 +41,7 @@ option(
41
41
42
42
add_library (beman.scope)
43
43
add_library (beman::scope ALIAS beman.scope)
44
- target_compile_features (beman.scope PRIVATE cxx_std_23 )
44
+ target_compile_features (beman.scope PRIVATE cxx_std_20 )
45
45
46
46
# gersemi: off
47
47
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ FetchContent_Declare(
7
7
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
8
8
GIT_TAG v3.8.0
9
9
SYSTEM
10
- # MABY : FIND_PACKAGE_ARGS 3.8.0
10
+ # MAYBY : FIND_PACKAGE_ARGS 3.8.0
11
11
)
12
12
FetchContent_MakeAvailable(Catch2)
13
13
@@ -19,11 +19,12 @@ include(Catch)
19
19
20
20
add_executable (test .module)
21
21
target_sources (test .module PRIVATE module.test .cpp)
22
- target_compile_features (test .module PRIVATE cxx_std_23)
23
- add_test (NAME test .module COMMAND test .module)
22
+ # MAYBE: target_compile_features(test.module PRIVATE cxx_std_23)
24
23
target_link_libraries (test .module PRIVATE beman::scope)
25
24
26
- # XXX target_compile_options(test.module PRIVATE "-fmodules")
25
+ add_test (NAME test .module COMMAND test .module)
26
+
27
+ # XXX NO! target_compile_options(test.module PRIVATE "-fmodules")
27
28
# target_link_libraries(
28
29
# test.module
29
30
# PUBLIC FILE_SET TYPE CXX_MODULES include/beman/scope/beman.scope.cppm
You can’t perform that action at this time.
0 commit comments