diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c86cd8..88eb6e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: -G Ninja - run: cmake --build ./build - run: cmake --install build/ --prefix build/install - - run: ctest --output-on-failure -D CMAKE_CXX_COMPILER=${{ matrix.compiler }} + - run: CXX=${{ matrix.compiler }} ctest --output-on-failure working-directory: build cmake-windows-modules: diff --git a/tests/vk_hpp_module.cpp b/tests/vk_hpp_module.cpp index 7ea6049..299cfc0 100644 --- a/tests/vk_hpp_module.cpp +++ b/tests/vk_hpp_module.cpp @@ -6,8 +6,12 @@ * SPDX-License-Identifier: Apache-2.0 */ import vulkan_hpp; +#include -int header_version() +int test_instance() { - return VK_HEADER_VERSION; + vk::InstanceCreateInfo instanceCreateInfo({}, nullptr); + vk::Instance instance = vk::createInstance(instanceCreateInfo); + instance.destroy(); + return 0; } \ No newline at end of file