forked from LeenkxTeam/LNXSDK
31 lines
848 B
YAML
31 lines
848 B
YAML
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
|