name: Test Compilation run-name: ${{github.event_name}} - Build evk - ${{github.sha}} on: [push] jobs: Build evk: runs-on: ubuntu-latest container: image: git.neosisyphus.com/evol3d/evol-testbed:latest 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 - name: Compile run: meson compile -C build - name: Upload Logs if: always() uses: https://git.neosisyphus.com/mo7sen/upload-artifact-gitea@v7 with: path: | build/meson-logs/meson-log.txt build/meson-logs/meson-setup.txt archive: false