From 59527917988fe6cce9e35d75e00b4cc030167e7c Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Fri, 12 Jul 2024 13:51:59 -0500 Subject: [PATCH] Add windows clang & clang-cl CI jobs --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6031dcc..d393e962 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: