43 lines
1008 B
YAML
43 lines
1008 B
YAML
name: Test Compilation
|
|
run-name: ${{github.event_name}} - Build evk - ${{github.sha}}
|
|
on: [push]
|
|
|
|
jobs:
|
|
Run tests:
|
|
env:
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
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') }}
|
|
#
|
|
|
|
|
|
- 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
|
|
|