rofi/.github/actions/meson/action.yml
TonCherAmi ceee9d672a
[CI] Port CI to github actions. (#1374)
* [CI] Port CI to github actions.

* [Doc] Fix doxygen comment block.
2021-08-20 14:54:34 +02:00

32 lines
669 B
YAML

name: Meson Build
description: Builds Rofi using Meson
inputs:
cc:
description: Compiler to use
required: true
runs:
using: composite
steps:
- id: pip
run: pip install meson ninja
shell: bash
- id: setup
run: meson setup builddir -Db_coverage=true
shell: bash
env:
CC: ${{ inputs.cc }}
- id: build
run: ninja -C builddir
shell: bash
- id: test
run: ninja -C builddir test
shell: bash
- id: doxy
run: ninja -C builddir doc/html 2>&1 > doxygen.log
shell: bash
- id: doxycheck
uses: ./.github/actions/doxycheck
with:
logfile: doxygen.log