-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the MSVC workflows and add a badge for each
- Also, only run the workflows when sources change.
- Loading branch information
1 parent
1683f1c
commit 060cfb2
Showing
4 changed files
with
76 additions
and
33 deletions.
There are no files selected for viewing
45 changes: 12 additions & 33 deletions
45
.github/workflows/msvc17.yml → .github/workflows/msvc-17-10.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX short identifier: BSL-1.0 | ||
|
||
name: msvc-clangcl-latest | ||
on: | ||
push: | ||
paths: | ||
- '.github/**' | ||
- 'cmake/**' | ||
- 'cml/**' | ||
- 'tests/**' | ||
- 'CMakeLists.txt' | ||
- 'CMakePresets.json' | ||
- 'CML.cmake' | ||
- 'vcpkg.json' | ||
|
||
jobs: | ||
msvc-clangcl-latest: | ||
name: MSVC ClangCL Latest | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: lukka/get-cmake@latest | ||
with: | ||
cmakeVersion: "~3.29.0" | ||
- uses: lukka/run-vcpkg@v11 | ||
- uses: lukka/run-cmake@v10 | ||
with: | ||
configurePreset: "cml-ci-ninja-msvc-clangcl-mt-s" | ||
buildPreset: "cml-ci-ninja-msvc-clangcl-mt-s-release" | ||
testPreset: "cml-ci-ninja-msvc-clangcl-mt-s-release-test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX short identifier: BSL-1.0 | ||
|
||
name: msvc-latest.yml | ||
on: | ||
push: | ||
paths: | ||
- '.github/**' | ||
- 'cmake/**' | ||
- 'cml/**' | ||
- 'tests/**' | ||
- 'CMakeLists.txt' | ||
- 'CMakePresets.json' | ||
- 'CML.cmake' | ||
- 'vcpkg.json' | ||
|
||
jobs: | ||
msvc-latest: | ||
name: MSVC Latest | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: lukka/get-cmake@latest | ||
with: | ||
cmakeVersion: "~3.29.0" | ||
- uses: lukka/run-vcpkg@v11 | ||
- uses: lukka/run-cmake@v10 | ||
with: | ||
configurePreset: "cml-ci-ninja-msvc-mt-s" | ||
buildPreset: "cml-ci-ninja-msvc-mt-s-release" | ||
testPreset: "cml-ci-ninja-msvc-mt-s-release-test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters