This GitHub action builds a GAP package.
The action build-pkg has to be called by the workflow of a GAP
package.
It compiles the package.
All of the following inputs are optional.
coverage:- Boolean that determines whether code coverage is turned on by adding
--coveragetoCFLAGS,CXXFLAGSandLDFLAGS. - default:
'true'
- Boolean that determines whether code coverage is turned on by adding
- The environment variable
NO_COVERAGEwas replaced by the action inputcoverage. To disable compiling code with coverage collection enabled, previously one had to setNO_COVERAGEto any non-empty value. This can now be achieved by setting thecoverageinput tofalse.
See below for a minimal example to run this action.
name: CI
# Trigger the workflow on push or pull request
on:
push:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gap-actions/setup-gap@v2
- uses: gap-actions/build-pkg@v1Please submit bug reports, suggestions for improvements and patches via the issue tracker.
The action build-pkg is free software; you can redistribute
and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or (at your
opinion) any later version. For details, see the file LICENSE distributed
with this action or the FSF's own site.