This commit is contained in:
@@ -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,71 @@ 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/
|
||||
build/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
|
||||
with:
|
||||
path: |
|
||||
subprojects/vma/
|
||||
build/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
|
||||
with:
|
||||
path: |
|
||||
subprojects/volk/
|
||||
build/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
|
||||
with:
|
||||
path: |
|
||||
subprojects/spvref/
|
||||
build/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
|
||||
with:
|
||||
path: |
|
||||
subprojects/glfw/
|
||||
build/subprojects/glfw/
|
||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('subprojects/glfw.wrap', 'subprojects/packagefiles/glfw/**/*') }}
|
||||
|
||||
- name: Cache ninja
|
||||
id: cache-ninja
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
cache-name: cache-ninja
|
||||
with:
|
||||
path: |
|
||||
build/.ninja_log
|
||||
build/.ninja_deps
|
||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.run_id }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-${{ env.cache-name }}-
|
||||
|
||||
- name: Configure
|
||||
run: meson setup build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user