mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-13 07:52:57 +00:00
Add windows clang & clang-cl CI jobs
This commit is contained in:
parent
f41928bd4a
commit
5952791798
1 changed files with 21 additions and 0 deletions
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
|
@ -52,6 +52,27 @@ jobs:
|
|||
- run: ctest --output-on-failure
|
||||
working-directory: build
|
||||
|
||||
windows_clang:
|
||||
runs-on: windows-2022
|
||||
strategy:
|
||||
matrix:
|
||||
compiler: [ clang, clang-cl ]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- run: |
|
||||
cmake -S . -B build `
|
||||
-D CMAKE_C_COMPILER=${{matrix.compiler}} `
|
||||
-D CMAKE_CXX_COMPILER=${{matrix.compiler}} `
|
||||
-D CMAKE_BUILD_TYPE=Release `
|
||||
-D VULKAN_HEADERS_ENABLE_TESTS=ON `
|
||||
-D VULKAN_HEADERS_ENABLE_INSTALL=ON `
|
||||
-G Ninja
|
||||
- run: cmake --build ./build
|
||||
- run: cmake --install build/ --prefix build/install
|
||||
- run: ctest --output-on-failure
|
||||
working-directory: build
|
||||
|
||||
reuse:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Add table
Reference in a new issue