Skip to content

Commit

Permalink
fix: CMakePresets.json and main_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirdEyeSqueegee committed Sep 8, 2023
1 parent 6328613 commit 0265d77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
VCPKG_COMMIT_ID: 095ee8757ec933b22d445738d2dbb1ce89bb8021

jobs:
build-and-test-vcpkg:
build:
runs-on: windows-latest
strategy:
fail-fast: false
Expand All @@ -37,7 +37,7 @@ jobs:
cmake-version: "3.26"

- name: Generate
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-release-${{ matrix.compiler }}
run: cmake -B "${{ github.workspace }}/build" -S "${{ github.workspace }}/CommonLibSF" --preset=build-release-${{ matrix.compiler }}-ninja

- name: Build
run: cmake --build "${{ github.workspace }}/build" --config release
run: cmake --build "${{ github.workspace }}/build"
8 changes: 4 additions & 4 deletions CommonLibSF/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
]
},
{
"name": "build-debug-clang-cl",
"name": "build-debug-clang-cl-ninja",
"inherits": [
"common",
"packaging-vcpkg",
Expand Down Expand Up @@ -168,7 +168,7 @@
]
},
{
"name": "build-release-clang-cl",
"name": "build-release-clang-cl-ninja",
"inherits": [
"common",
"packaging-vcpkg",
Expand Down Expand Up @@ -201,12 +201,12 @@
},
{
"name": "debug-clang-cl",
"configurePreset": "build-debug-clang-cl",
"configurePreset": "build-debug-clang-cl-ninja",
"displayName": "5. (Debug) Clang - Ninja"
},
{
"name": "release-clang-cl",
"configurePreset": "build-release-clang-cl",
"configurePreset": "build-release-clang-cl-ninja",
"displayName": "6. (Release) Clang - Ninja"
}
]
Expand Down

0 comments on commit 0265d77

Please sign in to comment.