2021-08-20 12:54:34 +00:00
|
|
|
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
|
2021-08-28 16:59:59 +00:00
|
|
|
- id: upload
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: tarballs
|
|
|
|
path: |
|
|
|
|
builddir/*.tar.gz
|
|
|
|
builddir/*.tar.xz
|