fix: remove minor memory leaks + clean up correctly #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- '*/**' | |
- '**/meson.build' | |
- '!docs/**' | |
pull_request: | |
branches: [ "master" ] | |
paths: | |
- '*/**' | |
- '**/meson.build' | |
- '!docs/**' | |
jobs: | |
unit: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
compiler: gcc | |
- os: ubuntu-latest | |
compiler: clang | |
- os: windows-latest | |
compiler: msvc | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/setup_cc_env | |
with: | |
compiler: ${{ matrix.compiler }} | |
- run: meson setup build | |
- run: meson test -C build | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: logs-${{ matrix.os }} | |
path: build/meson-logs/ | |
retention-days: 5 | |
system: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt install qemu-user lld | |
- uses: ./.github/setup_cc_env | |
with: | |
compiler: ${{ matrix.compiler }} | |
- run: meson setup build | |
- run: meson compile -C build | |
- run: python3 test/system/runtests.py | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: logs-qemu | |
path: build/meson-logs/ | |
retention-days: 5 |