Skip to content

Commit 2cba6ca

Browse files
committed
Fix syntax error in windos preset
1 parent cec837f commit 2cba6ca

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232

33+
- name: Install static analyzers
34+
if: matrix.os == 'macos-15'
35+
run: >-
36+
brew install llvm-19 cmake ninja
37+
3338
- name: Install static analyzers
3439
if: matrix.os == 'ubuntu-24.04'
3540
run: >-
@@ -47,18 +52,18 @@ jobs:
4752
4853
- name: Configure
4954
shell: pwsh
50-
run: cmake --preset=Release -D BUILD_SHARED_LIBS=${{ matrix.shared }}
55+
run: cmake --preset=Debug -D BUILD_SHARED_LIBS=${{ matrix.shared }}
5156

5257
- name: Setup PATH
5358
if: matrix.os == 'windows-2022' && matrix.type == 'shared'
54-
run: Add-Content "$env:GITHUB_PATH" "$(Get-Location)\build\Release"
59+
run: Add-Content "$env:GITHUB_PATH" "$(Get-Location)\build\Debug"
5560

5661
- name: Build
57-
run: cmake --build build --config Release -j 2
62+
run: cmake --build build --config Debug -j 2
5863

5964
- name: Test
6065
working-directory: build
61-
run: ctest --output-on-failure --no-tests=error -C Release -j 2
66+
run: ctest --output-on-failure --no-tests=error -C Debug -j 2
6267

6368
- name: Install
64-
run: cmake --install build --config Release --prefix prefix
69+
run: cmake --install build --config Debug --prefix prefix

CMakeLinuxPresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ci-std"
1818
],
1919
"cacheVariables": {
20-
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wsign-conversion -Wcast-align -Wcast-qual -Wnull-dereference -Woverloaded-virtual -Wformat=2 -Werror"
20+
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -Wconversion -Wsign-conversion -Wcast-align -Wcast-qual -Wno-null-dereference -Woverloaded-virtual -Wformat=2 -Werror"
2121
},
2222
"condition": {
2323
"type": "notEquals",

CMakeWindowsPresets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"inherits": [
3232
"ci-std",
3333
"dev-mode"
34+
]
3435
}
3536
]
3637
}

0 commit comments

Comments
 (0)