Skip to content

Commit

Permalink
Update build-windows.yml use VulkanSDK 1.3.250.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bvernoux authored Jun 7, 2023
1 parent a895bbd commit 841d2a3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ jobs:
uses: actions/cache@v3
with:
path: D:/a/_temp/msys64/home/runneradmin/glslang
key: ${{ runner.os }}-glslang-1.3.224.1
key: ${{ runner.os }}-glslang-1.3.250.0

- name: Build glslang tags/sdk-1.3.224.1
- name: Build glslang tags/sdk-1.3.250.0
if: steps.cache-glslang.outputs.cache-hit != 'true'
run: |
# Windows mingw64 glslang build (as it is not fully integrated in VulkanSDK-1.3.224.1 for Windows and built with Visual Studio 2017)
# Windows mingw64 glslang build (as it is not fully integrated in VulkanSDK-1.3.250.0 for Windows and built with Visual Studio 2019)
cd ~
git clone https://github.com/KhronosGroup/glslang.git
cd glslang
git checkout tags/sdk-1.3.224.1
git checkout tags/sdk-1.3.250.0
git clone https://github.com/google/googletest.git External/googletest
cd External/googletest
git checkout 0c400f67fcf305869c5fb113dd296eca266c9725
Expand All @@ -64,18 +64,18 @@ jobs:
- name: Install Vulkan SDK
run: |
wget https://sdk.lunarg.com/sdk/download/1.3.224.1/windows/VulkanSDK-1.3.224.1-Installer.exe
./VulkanSDK-1.3.224.1-Installer.exe --accept-licenses --default-answer --confirm-command install
echo "/c/VulkanSDK/1.3.224.1/Bin" >> $GITHUB_PATH
rm -f VulkanSDK-1.3.224.1-Installer.exe
wget https://sdk.lunarg.com/sdk/download/1.3.250.0/windows/VulkanSDK-1.3.250.0-Installer.exe
./VulkanSDK-1.3.250.0-Installer.exe --accept-licenses --default-answer --confirm-command install
echo "/c/VulkanSDK/1.3.250.0/Bin" >> $GITHUB_PATH
rm -f VulkanSDK-1.3.250.0-Installer.exe
- name: Setup Paths and Env for all steps
run: |
rm -f ~/.bash_profile
echo "PATH=/c/VulkanSDK/1.3.224.1/Bin:\$PATH" >> ~/.bash_profile
echo "export VK_SDK_PATH=/c/VulkanSDK/1.3.224.1" >> ~/.bash_profile
echo "export VULKAN_SDK=/c/VulkanSDK/1.3.224.1" >> ~/.bash_profile
echo "PATH=/c/VulkanSDK/1.3.250.0/Bin:\$PATH" >> ~/.bash_profile
echo "export VK_SDK_PATH=/c/VulkanSDK/1.3.250.0" >> ~/.bash_profile
echo "export VULKAN_SDK=/c/VulkanSDK/1.3.250.0" >> ~/.bash_profile
echo "export GLSLANG_BUILD_PATH=~/glslang/build/install" >> ~/.bash_profile
- name: Build
Expand Down

0 comments on commit 841d2a3

Please sign in to comment.