1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/.github/actions/autotools/action.yml

54 lines
1.2 KiB
YAML
Raw Normal View History

name: Autotools Build
description: Builds Rofi using Autotools
inputs:
cc:
description: Compiler to use
required: true
windowmode:
description: Enable window mode
required: true
runs:
using: composite
steps:
- id: pip
run: pip install meson ninja
shell: bash
- id: setup
run: |
autoreconf --install
mkdir builddir && cd builddir
../configure CC=${{ inputs.cc }} --${{ inputs.windowmode }}-windowmode
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
- id: meson-dist-check
shell: bash
run: |
tar xf builddir/rofi-*.tar.gz
cd rofi-*/
meson setup . build
ninja -C build
ninja -C build test
- id: upload
uses: actions/upload-artifact@v2
with:
name: tarballs
path: |
builddir/*.tar.gz
builddir/*.tar.xz