From cde27c9456aed7117385e7469c4fc5ea3e1baa7f Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Tue, 18 Jun 2024 13:18:54 -0500 Subject: [PATCH] ci: Add explicit build step This tests the Vulkan Module building without needing to run inside an integration test. While theoretically the integration tests will exercise the build, the nature of running the build inside of a test makes it more difficult to diagnose if the test is poorly setup or if the build itself isn't working. --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2f9fab..4f4cd8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,8 +30,9 @@ jobs: cmakeVersion: ${{ matrix.cmake-version }} - uses: ilammy/msvc-dev-cmd@v1 - run: cmake -S . -B build -D VULKAN_HEADERS_ENABLE_TESTS=ON -D VULKAN_HEADERS_ENABLE_INSTALL=ON -G Ninja - - run: cmake --install build/ --prefix build/install - - run: ctest --output-on-failure + - run: cmake --build ./build --verbose + - run: cmake --install build/ --prefix build/install --verbose + - run: ctest --output-on-failure --verbose working-directory: build reuse: