From c16b25dd28ea4744c24856ea5ad58207cb46a3ad Mon Sep 17 00:00:00 2001 From: Rokas Kupstys Date: Tue, 25 May 2021 16:36:03 +0300 Subject: [PATCH] CI: Add a build of imgui_impl_vulkan.cpp with IMGUI_IMPL_VULKAN_NO_PROTOTYPES defined. (#4151, #3759, #3227) --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 410d5487b895a..ba1d3a9e86307 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -204,7 +204,7 @@ jobs: - name: Install Dependencies run: | sudo apt-get update - sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev + sudo apt-get install -y libglfw3-dev libsdl2-dev gcc-multilib g++-multilib libfreetype6-dev vulkan-sdk - name: Build example_null (extra warnings, gcc 32-bit) run: | @@ -362,6 +362,9 @@ jobs: - name: Build example_sdl_opengl3 run: make -C examples/example_sdl_opengl3 + - name: Build with IMGUI_IMPL_VULKAN_NO_PROTOTYPES + run: g++ -c -I. -DIMGUI_IMPL_VULKAN_NO_PROTOTYPES=1 backends/imgui_impl_vulkan.cpp + MacOS: runs-on: macos-latest steps: