mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
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.
This commit is contained in:
parent
7dacb97fba
commit
cde27c9456
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue