From f446e9e0566f17ebaa73c85849787bf50437024e Mon Sep 17 00:00:00 2001 From: Ravbug Date: Tue, 26 Dec 2023 16:39:09 -0800 Subject: [PATCH] Update gen.yml --- .github/workflows/gen.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index 43d3f23..32719c2 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -28,15 +28,15 @@ jobs: - name: Download SDK run: curl -o vulkan-sdk.tar.gz https://sdk.lunarg.com/sdk/download/latest/linux/vulkan-sdk.tar.gz - name: Unpack SDK - run: | - mkdir vulkan-sdk - tar -xvf vulkan-sdk.tar.gz -C vulkan-sdk --strip-components 2 + run: tar -xvf vulkan-sdk.tar.gz - name: Remove x86_64 - run: rm -r vulkan-sdk/x86_64 + run: | + cd `find . -maxdepth 1 -type d -name '1.*' -print -quit` + rm -r x86_64 - name: Build SDK run: | - cd vulkan-sdk - CC=/usr/bin/aarch64-linux-gnu-gcc-12 CXX=/usr/bin/aarch64-linux-gnu-g++-12 ./vulkan-sdk vulkan-loader vulkan-validationlayers vulkan-extensionlayer + cd `find . -maxdepth 1 -type d -name '1.*' -print -quit` + CC=/usr/bin/aarch64-linux-gnu-gcc-12 CXX=/usr/bin/aarch64-linux-gnu-g++-12 ./vulkan-sdk vulkan-loader vulkan-validationlayers vulkan-extensionlayer - name: Upload Artifacts uses: actions/upload-artifact@v3 with: