Update
This commit is contained in:
30
Kha/.github/workflows/windows-vulkan.yml
vendored
Normal file
30
Kha/.github/workflows/windows-vulkan.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Windows (Vulkan)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup Vulkan
|
||||
run: |
|
||||
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/1.3.275.0/windows/VulkanSDK-1.3.275.0-Installer.exe" -OutFile VulkanSDK.exe
|
||||
$installer = Start-Process -FilePath VulkanSDK.exe -Wait -PassThru -ArgumentList @("--da", "--al", "-c", "in");
|
||||
$installer.WaitForExit();
|
||||
- name: Get DLC
|
||||
run: .\get_dlc.bat
|
||||
- name: Get Node.js
|
||||
run: git clone https://github.com/Kode/nodejs_bin.git --depth 1
|
||||
- name: Compile
|
||||
run: .\nodejs_bin\node.exe make.js -v vs2022 -g vulkan --kha . --from Tests/Empty --compile
|
||||
env:
|
||||
VULKAN_SDK: C:\VulkanSDK\1.3.275.0
|
||||
Reference in New Issue
Block a user