summaryrefslogtreecommitdiffstats
path: root/.github/workflows/verify.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/verify.yml')
-rw-r--r--.github/workflows/verify.yml34
1 files changed, 19 insertions, 15 deletions
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml
index bd4141f56..cbe6b0fbd 100644
--- a/.github/workflows/verify.yml
+++ b/.github/workflows/verify.yml
@@ -73,6 +73,10 @@ jobs:
needs: format
runs-on: windows-2022
steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: recursive
+ fetch-depth: 0
- name: Set up cache
uses: actions/cache@v3
with:
@@ -81,22 +85,22 @@ jobs:
restore-keys: |
${{ runner.os }}-msvc-
- name: Install dependencies
- # due to how chocolatey works, only cmd.exe is supported here
- shell: cmd
+ shell: pwsh
run: |
- choco install vulkan-sdk wget
- call refreshenv
- wget https://github.com/mbitsnbites/buildcache/releases/download/v0.27.6/buildcache-windows.zip
- 7z x buildcache-windows.zip
- copy buildcache\bin\buildcache.exe C:\ProgramData\chocolatey\bin
- rmdir buildcache
- echo %PATH% >> %GITHUB_PATH%
+ $ErrorActionPreference = "Stop"
+ $BuildCacheVer = "v0.28.4"
+ $File = "buildcache-windows.zip"
+ $Uri = "https://github.com/mbitsnbites/buildcache/releases/download/$BuildCacheVer/$File"
+ $WebClient = New-Object System.Net.WebClient
+ $WebClient.DownloadFile($Uri, $File)
+ 7z x $File
+ $CurrentDir = Convert-Path .
+ echo "$CurrentDir/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - name: Install Vulkan SDK
+ shell: pwsh
+ run: .\.ci\scripts\windows\install-vulkan-sdk.ps1
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
- - uses: actions/checkout@v3
- with:
- submodules: recursive
- fetch-depth: 0
- name: Configure
env:
CC: cl.exe
@@ -129,11 +133,12 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
+ fetch-depth: 0
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
- distribution: 'adopt'
+ distribution: 'temurin'
- name: Set up cache
uses: actions/cache@v3
with:
@@ -151,7 +156,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ccache apksigner glslang-dev glslang-tools
- git -C ./externals/vcpkg/ fetch --all --unshallow
- name: Build
run: ./.ci/scripts/android/build.sh
- name: Copy and sign artifacts