diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index cf80951..664d0c3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: ${{github.event_name}} - Build evk - ${{github.sha}} on: [push] jobs: - Run tests: + Build evk: runs-on: ubuntu-latest container: @@ -11,6 +11,50 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Cache shaderc + id: cache-shaderc + uses: actions/cache@v4 + env: + cache-name: cache-shaderc-src + with: + path: subprojects/shaderc/ + key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/shaderc.wrap', 'subprojects/packagefiles/shaderc/**/*') }} + - name: Cache VMA + id: cache-vma + uses: actions/cache@v4 + env: + cache-name: cache-vma-src + with: + path: subprojects/vma/ + key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/vma.wrap', 'subprojects/packagefiles/vma/**/*') }} + - name: Cache volk + id: cache-volk + uses: actions/cache@v4 + env: + cache-name: cache-volk-src + with: + path: subprojects/volk/ + key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/volk.wrap', 'subprojects/packagefiles/volk/**/*') }} + - name: Cache SPIRV-Reflect + id: cache-spvref + uses: actions/cache@v4 + env: + cache-name: cache-spvref-src + with: + path: subprojects/spvref/ + key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/spvref.wrap', 'subprojects/packagefiles/spvref/**/*') }} + - name: Cache GLFW + id: cache-glfw + uses: actions/cache@v4 + env: + cache-name: cache-glfw-src + with: + path: subprojects/glfw/ + key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/glfw.wrap', 'subprojects/packagefiles/glfw/**/*') }} + + + - name: Configure run: meson setup build diff --git a/subprojects/spvref.wrap b/subprojects/spvref.wrap index 4ce74ca..5a03ae9 100644 --- a/subprojects/spvref.wrap +++ b/subprojects/spvref.wrap @@ -1,7 +1,7 @@ [wrap-git] directory = spvref url = https://github.com/KhronosGroup/SPIRV-Reflect -revision = main +revision = vulkan-sdk-1.4.309.0 depth = 1 patch_directory = spvref diff --git a/subprojects/vma.wrap b/subprojects/vma.wrap index 86462a4..30724f2 100644 --- a/subprojects/vma.wrap +++ b/subprojects/vma.wrap @@ -1,7 +1,7 @@ [wrap-git] directory = vma url = https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator -revision = master +revision = v3.3.0 depth = 1 patch_directory = vma diff --git a/subprojects/volk.wrap b/subprojects/volk.wrap index 778f55f..5042332 100644 --- a/subprojects/volk.wrap +++ b/subprojects/volk.wrap @@ -1,7 +1,8 @@ [wrap-git] directory = volk url = https://github.com/zeux/volk -revision = master +revision = vulkan-sdk-1.4.309.0 +depth = 1 patch_directory = volk