2021-08-20 08:54:34 -04:00
|
|
|
name: Autotools Build
|
|
|
|
description: Builds Rofi using Autotools
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
cc:
|
|
|
|
description: Compiler to use
|
|
|
|
required: true
|
2021-11-29 15:03:14 -05:00
|
|
|
windowmode:
|
|
|
|
description: Enable window mode
|
|
|
|
required: true
|
2021-08-20 08:54:34 -04:00
|
|
|
|
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
2021-08-30 04:45:43 -04:00
|
|
|
- id: pip
|
|
|
|
run: pip install meson ninja
|
|
|
|
shell: bash
|
2021-08-20 08:54:34 -04:00
|
|
|
- id: setup
|
|
|
|
run: |
|
|
|
|
autoreconf --install
|
|
|
|
|
|
|
|
mkdir builddir && cd builddir
|
|
|
|
|
2021-11-29 15:03:14 -05:00
|
|
|
../configure CC=${{ inputs.cc }} --${{ inputs.windowmode }}-windowmode
|
2021-08-20 08:54:34 -04:00
|
|
|
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
|
2022-03-16 15:58:37 -04:00
|
|
|
- id: autoconf-dist-check
|
2021-08-30 04:45:43 -04:00
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
tar xf builddir/rofi-*.tar.gz
|
|
|
|
cd rofi-*/
|
2022-03-16 15:58:37 -04:00
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make check
|
2021-08-28 12:59:59 -04:00
|
|
|
- id: upload
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: tarballs
|
|
|
|
path: |
|
|
|
|
builddir/*.tar.gz
|
|
|
|
builddir/*.tar.xz
|