rofi/.github/actions/autotools/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
659 B
YAML

name: Autotools Build
description: Builds Rofi using Autotools
inputs:
cc:
description: Compiler to use
required: true
runs:
using: composite
steps:
- id: setup
run: |
autoreconf --install
mkdir builddir && cd builddir
../configure CC=${{ inputs.cc }}
shell: bash
- id: build
run: cd builddir && make
shell: bash
- id: test
run: cd builddir && make distcheck
shell: bash
- id: doxy
run: cd builddir && make doxy 2>&1 > doxygen.log
shell: bash
- id: doxycheck
uses: ./.github/actions/doxycheck
with:
logfile: builddir/doxygen.log