File tree Expand file tree Collapse file tree 4 files changed +6
-32
lines changed Expand file tree Collapse file tree 4 files changed +6
-32
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,15 @@ jobs:
17
17
- windows-2022
18
18
- ubuntu-22.04
19
19
- macos-13
20
- - macos-14
20
+ # - macos-14
21
21
compiler :
22
22
- llvm
23
23
- gcc
24
- cmake :
25
- - true
26
24
vcvarsall :
27
25
- true
28
26
include :
29
27
- os : " windows-2022"
30
28
compiler : " msvc"
31
- cmake : true
32
29
vcvarsall : true
33
30
- os : " windows-2022"
34
31
compiler : " msvc"
55
52
${{ env.XDG_CACHE_HOME }}/vcpkg/archives
56
53
${{ env.LOCALAPPDATA }}\vcpkg\archives
57
54
${{ env.APPDATA }}\vcpkg\archives
58
- key : ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json')}}-${{ matrix.cmake }}
55
+ key : ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json')}}
59
56
restore-keys : |
60
57
${{ runner.os }}-${{ env.BUILD_TYPE }}-
61
58
64
61
with :
65
62
compiler : ${{ matrix.compiler }}
66
63
vcvarsall : ${{ contains(matrix.os, 'windows') && matrix.vcvarsall }}
67
- cmake : ${{ matrix.cmake }}
64
+ cmake : true
68
65
ninja : true
69
66
vcpkg : true
70
67
conan : 2.6.0
83
80
84
81
- name : Lint
85
82
run : |
86
- pipx install cmakelint
87
- pipx install --include-deps cmake-format
83
+ pipx install cmakelang[YAML]
88
84
task lint
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ macro(set_standards)
22
22
_set_language_standard (
23
23
CXX_LATEST_STANDARD
24
24
CXX
25
- 23
25
+ # 23
26
26
20
27
27
17
28
28
14
@@ -39,7 +39,7 @@ macro(set_standards)
39
39
_set_language_standard (
40
40
C_LATEST_STANDARD
41
41
C
42
- 23
42
+ # 23
43
43
20
44
44
17
45
45
11
Original file line number Diff line number Diff line change @@ -17,17 +17,6 @@ if(FEATURE_TESTS)
17
17
)
18
18
endif ()
19
19
20
- set (ENABLE_INTERPROCEDURAL_OPTIMIZATION "ENABLE_INTERPROCEDURAL_OPTIMIZATION" )
21
- if (APPLE )
22
- detect_macos_version (apple_version )
23
- if (apple_version VERSION_GREATER_EQUAL 13 )
24
- # workaround for linkage error as described in https://github.com/Homebrew/homebrew-core/issues/145991
25
- # although fixed, this problem still exists in github actions
26
- add_link_options (-Wl,-ld_classic )
27
- set (ENABLE_INTERPROCEDURAL_OPTIMIZATION "" )
28
- endif ()
29
- endif ()
30
-
31
20
# Initialize project_options
32
21
project_options (
33
22
ENABLE_CACHE
Original file line number Diff line number Diff line change @@ -49,17 +49,6 @@ if(NOT MSVC)
49
49
#message(STATUS "Detect Linker: ${LINKER}")
50
50
endif ()
51
51
52
- set (ENABLE_INTERPROCEDURAL_OPTIMIZATION "ENABLE_INTERPROCEDURAL_OPTIMIZATION" )
53
- if (APPLE )
54
- detect_macos_version (apple_version )
55
- if (apple_version VERSION_GREATER_EQUAL 13 )
56
- # workaround for linkage error as described in https://github.com/Homebrew/homebrew-core/issues/145991
57
- # although fixed, this problem still exists in github actions
58
- add_link_options (-Wl,-ld_classic )
59
- set (ENABLE_INTERPROCEDURAL_OPTIMIZATION "" )
60
- endif ()
61
- endif ()
62
-
63
52
# Initialize project_options
64
53
# uncomment the options to enable them
65
54
project_options (
You can’t perform that action at this time.
0 commit comments