Tweaked the action and the cmake
Some checks failed
Build VulkanEngine / build (push) Failing after 2m49s

This commit is contained in:
Alexandre 2026-10-06 21:20:13 +02:00
parent 052248a699
commit fda45a1bfe
2 changed files with 12 additions and 20 deletions

View File

@ -22,22 +22,17 @@ jobs:
sudo apt install -y \ sudo apt install -y \
cmake \ cmake \
ninja-build \ ninja-build \
curl \ pkg-config \
g++ \
libvulkan1 \ libvulkan1 \
vulkan-validationlayers \
vulkan-tools \
libvulkan-memory-allocator-dev \
libvulkan-volk-dev \
glslang-tools \ glslang-tools \
libglfw3-dev \ libglfw3-dev \
libfmt-dev \
libcli11-dev \ libcli11-dev \
libglm-dev \ libglm-dev \
libpulse-dev \
libwayland-dev \ libwayland-dev \
wayland-protocols \ wayland-protocols \
libwayland-bin \ libxkbcommon-dev
libxkbcommon-dev \
libpulse-dev
- name: Install Slang - name: Install Slang
run: | run: |
@ -55,6 +50,14 @@ jobs:
ls -la /usr/local/bin/slangc ls -la /usr/local/bin/slangc
- name: Install Vulkan SDK
uses: humbletim/setup-vulkan-sdk@v1.2.1
with:
vulkan-query-version: 1.4.335.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Check dependencies - name: Check dependencies
run: | run: |
cmake --version cmake --version

View File

@ -29,13 +29,6 @@ FetchContent_Declare(
) )
FetchContent_MakeAvailable(fastgltf) FetchContent_MakeAvailable(fastgltf)
FetchContent_Declare(
Vulkan-Headers
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers.git
GIT_TAG vulkan-sdk-1.4.335
)
FetchContent_MakeAvailable(Vulkan-Headers)
FetchContent_Declare( FetchContent_Declare(
Vulkan-Utility-Libraries Vulkan-Utility-Libraries
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
@ -43,10 +36,6 @@ FetchContent_Declare(
) )
FetchContent_MakeAvailable(Vulkan-Utility-Libraries) FetchContent_MakeAvailable(Vulkan-Utility-Libraries)
set(VK_BOOTSTRAP_VULKAN_HEADER_DIR
"${vulkan-headers_SOURCE_DIR}/include"
CACHE PATH "" FORCE
)
FetchContent_Declare( FetchContent_Declare(
vk_bootstrap vk_bootstrap