@@ -343,6 +343,7 @@ jobs:
343343
344344 build-windows :
345345 if : ${{ github.event.inputs.platform == 'x86-win32' || github.event.inputs.platform == 'x86_64-win32' || github.event.inputs.platform == 'all' }}
346+ needs : prepare-defoldsdk
346347 runs-on : windows-2022
347348 strategy :
348349 matrix :
@@ -358,6 +359,16 @@ jobs:
358359 with :
359360 python-version : " 3.x"
360361
362+ - name : Restore Defold SDK and bob.jar from cache
363+ uses : actions/cache/restore@v4
364+ with :
365+ path : |
366+ bob.jar
367+ build/defoldsdk
368+ key : ${{ needs.prepare-defoldsdk.outputs.defoldsdk_cache_key }}
369+ enableCrossOsArchive : true
370+ fail-on-cache-miss : true
371+
361372 - name : Clone Rive runtime
362373 shell : bash
363374 run : |
@@ -392,12 +403,23 @@ jobs:
392403 - name : Setup CMake 4.1
393404 uses : lukka/get-cmake@v4.1.1
394405
406+ - name : Install Vulkan SDK
407+ uses : humbletim/install-vulkan-sdk@v1.2
408+ with :
409+ cache : true
410+
395411 - name : MSBuild sanity check
396412 shell : pwsh
397413 run : |
398414 msbuild -version
399415 Get-Command msbuild.exe | Format-List -Property Source
400416
417+ - name : Verify Vulkan tools
418+ shell : bash
419+ run : |
420+ set -euo pipefail
421+ glslangValidator --version
422+
401423 - name : Install DirectX Shader Compiler (DXC)
402424 shell : bash
403425 run : |
@@ -407,6 +429,8 @@ jobs:
407429
408430 - name : Build libraries with Vulkan
409431 shell : bash
432+ env :
433+ DYNAMO_HOME : ${{ github.workspace }}/build/defoldsdk/defoldsdk
410434 run : |
411435 set -euo pipefail
412436 ./utils/build_rive_runtime.sh "${{ matrix.platform }}" "$RIVE_TMP_DIR" --with-vulkan
0 commit comments