Skip to content

Commit e4da258

Browse files
Refactor CMake command in workflow for clarity
Simplified CMake configuration command for Windows.
1 parent 486f76b commit e4da258

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/cmake-multi-platform.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
jobs:
1010
build:
1111
runs-on: ${{ matrix.os }}
12-
1312
strategy:
1413
fail-fast: false
1514
matrix:
@@ -59,11 +58,7 @@ jobs:
5958
6059
- name: Configure CMake (Windows)
6160
if: runner.os == 'Windows'
62-
run: |
63-
cmake -B build \
64-
-S . \
65-
-DCMAKE_BUILD_TYPE=Release \
66-
-DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
61+
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
6762

6863
# ─── Build ─────────────────────────────────────────
6964
- name: Build

0 commit comments

Comments
 (0)