Skip to content

Commit

Permalink
[cmake] Attempt to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmNotHanni committed Jul 14, 2024
1 parent 39372b2 commit a51b938
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
types: [opened]

env:
INEXOR_VULKAN_VERSION: "1.3.283.0"
INEXOR_VULKAN_SDK_PATH: "$GITHUB_WORKSPACE/../vulkan-sdk/"
INEXOR_VULKAN_VERSION: "1.3.270.0"
INEXOR_VULKAN_SDK_PATH: "$GITHUB_WORKSPACE/../vulkan_sdk/"

jobs:
linux:
Expand Down Expand Up @@ -90,11 +90,17 @@ jobs:
shell: bash
run: |
# Download Vulkan SDK
ls
curl -LS -o vulkansdk.tar.xz \
https://sdk.lunarg.com/sdk/download/${{ env.INEXOR_VULKAN_VERSION }}/linux/vulkansdk-linux-x86_64-${{ env.INEXOR_VULKAN_VERSION }}.tar.xz
ls
# Create Vulkan SDK directory and extract
mkdir "${{ env.INEXOR_VULKAN_SDK_PATH }}"
ls
tar xf vulkansdk.tar.xz -C "${{ env.INEXOR_VULKAN_SDK_PATH }}"
ls
cd ..
ls
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ FetchContent_Declare(volk

FetchContent_Declare(Vulkan
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers
GIT_TAG v1.3.290
GIT_TAG v1.3.270
GIT_PROGRESS ON
FIND_PACKAGE_ARGS 1.3.290)
FIND_PACKAGE_ARGS 1.3.270)

0 comments on commit a51b938

Please sign in to comment.