diff options
author | Charles Giessen <[email protected]> | 2024-07-12 13:51:59 -0500 |
---|---|---|
committer | Charles Giessen <[email protected]> | 2024-07-12 14:13:48 -0500 |
commit | 59527917988fe6cce9e35d75e00b4cc030167e7c (patch) | |
tree | 45131314e7436ddfadd952c42ab36b6b9be8475f /.github/workflows/ci.yml | |
parent | f41928bd4ac3b0451b68898d8e58a6ed5ee99f2b (diff) | |
download | Vulkan-Headers-59527917988fe6cce9e35d75e00b4cc030167e7c.tar.gz Vulkan-Headers-59527917988fe6cce9e35d75e00b4cc030167e7c.zip |
Add windows clang & clang-cl CI jobs
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6031dc..d393e96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |