Updated Vulkan headers to 1.3.267 #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Project | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_ubuntu_x11: | |
name: Build Ubuntu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Install Vulkan SDK | |
run: | | |
sudo apt update | |
sudo apt install libvulkan-dev | |
- name: Build | |
run: | | |
cmake . | |
make | |
build_windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- name: Cache Vulkan SDK | |
id: cache-vulkan-sdk | |
uses: actions/cache@v3 | |
with: | |
path: "C:\\VulkanSDK\\1.3.231.1" | |
key: vulkan-sdk-1.3.231.1 | |
- name: Install VulkanSDK | |
if: steps.cache-vulkan-sdk.outputs.cache-hit != 'true' | |
run: | | |
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/1.3.231.1/windows/VulkanSDK-1.3.231.1-Installer.exe" -OutFile VulkanSDK.exe | |
$installer = Start-Process -FilePath VulkanSDK.exe -Wait -Verb runAs -PassThru -ArgumentList @("--accept-licenses --default-answer --confirm-command install"); | |
$installer.WaitForExit(); | |
- name: Build | |
env: | |
TARGET_PLATFORM: windows | |
VULKAN_SDK: "C:\\VulkanSDK\\1.3.231.1" | |
run: | | |
cmake . | |
cmake --build . |