-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from djbelyak/ci-update
ci: bumped versions of all actions
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,53 @@ | ||
name: Build NRD sample | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
Build-Windows: | ||
runs-on: windows-latest | ||
steps: | ||
- | ||
name : Checkout | ||
uses: actions/checkout@v3 | ||
- name : Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- | ||
name: Install dependencies | ||
uses: crazy-max/ghaction-chocolatey@v1 | ||
|
||
- name: Install dependencies | ||
uses: crazy-max/ghaction-chocolatey@v3 | ||
with: | ||
args: install windows-sdk-10.0 cmake -y | ||
- | ||
name: Install Vulkan | ||
|
||
- name: Install Vulkan | ||
run: | | ||
$ver = (Invoke-WebRequest -Uri "https://vulkan.lunarg.com/sdk/latest.json" | ConvertFrom-Json).windows | ||
echo Vulkan SDK version $ver | ||
$ProgressPreference = 'SilentlyContinue' | ||
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/$ver/windows/VulkanSDK-$ver-Installer.exe" -OutFile VulkanSDK.exe | ||
echo Downloaded | ||
.\VulkanSDK.exe --root C:\VulkanSDK --accept-licenses --default-answer --confirm-command install | ||
- | ||
name: Deploy NRD Sample | ||
- name: Deploy NRD Sample | ||
run: | | ||
$Env:VULKAN_SDK = "C:/VulkanSDK/" | ||
$Env:Path += ";C:/VulkanSDK/Bin" | ||
.\1-Deploy.bat | ||
- | ||
name: Build NRD Sample | ||
- name: Build NRD Sample | ||
run: | | ||
$Env:VULKAN_SDK = "C:/VulkanSDK/" | ||
$Env:Path += ";C:/VulkanSDK/Bin" | ||
.\2-Build.bat | ||
- | ||
name: Upload NRD Sample as artefact | ||
uses: actions/upload-artifact@v3 | ||
- name: Upload NRD Sample as artefact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: NRD Sample | ||
path: | | ||
README.md | ||
3-Run NRD sample.bat | ||
_Bin/Release/ | ||
_Data/ | ||
_Shaders/ | ||
_Shaders/ |