Run tests #24
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: test | |
run-name: Run tests | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Pull submodules | |
run: git submodule update --init --recursive | |
- name: Set up Meson and Ninja | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y meson ninja-build build-essential | |
- name: Build | |
run: | | |
meson setup build --debug --warnlevel 3 --werror -Db_sanitize=address,undefined -Dcpp_debugstl=true | |
ninja -C build | |
- name: Test | |
run: | | |
ninja -C build test |