ci: check REUSE compliance on pushes and pull requests #17
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
# SPDX-FileCopyrightText: 2024 Guilherme Puida Moreira <[email protected]> | |
# SPDX-License-Identifier: BSD-3-Clause | |
name: tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
- run: | | |
sudo apt-get update | |
sudo apt-get install meson libcriterion-dev | |
name: install dependencies | |
- run: meson setup debug --buildtype=debug | |
name: setup debug | |
- run: meson test -C debug --verbose | |
name: test debug | |
- run: meson setup release --buildtype=release | |
name: setup release | |
- run: meson test -C release --verbose | |
name: test release | |