42 lines
982 B
YAML
42 lines
982 B
YAML
name: Run tests
|
|
run-name: Running Tests
|
|
on: [push]
|
|
|
|
jobs:
|
|
Run tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: git.neosisyphus.com/evol3d/evol-testbed:latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Configure
|
|
run: meson setup build
|
|
- name: Run tests
|
|
run: meson test -C build
|
|
|
|
- name: Upload Meson Setup Logs
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: meson-setup.txt
|
|
path: build/meson-logs/meson-setup.txt
|
|
archive: false
|
|
|
|
- name: Upload Meson Build Logs
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: meson-log.txt
|
|
path: build/meson-logs/meson-log.txt
|
|
archive: false
|
|
|
|
- name: Upload Meson Test Logs
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: testlog.txt
|
|
path: build/meson-logs/testlog.txt
|
|
archive: false
|