Skip to content

fix: remove minor memory leaks + clean up correctly #60

fix: remove minor memory leaks + clean up correctly

fix: remove minor memory leaks + clean up correctly #60

Workflow file for this run

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