firejail/.github/workflows/build.yml
For compliance reasons, we're required e07510100f
build: remove unused install.sh (#7124)
install.sh was used for AC_PROG_INSTALL, which was removed in
4421517c55 (corresponding PR #5133)

From the manual of GNU Autoconf (version 2.73):

>     Autoconf comes with a copy of ‘install-sh’ that you can use.  If
>     you use ‘AC_PROG_INSTALL’, you must include ‘install-sh’ in your
>     distribution; otherwise ‘autoreconf’ and ‘configure’ will produce
>     an error message saying they can’t find it—even if the system
>     you’re on has a good ‘install’ program.  This check is a safety
>     measure to prevent you from accidentally leaving that file out,
>     which would prevent your package from installing on systems that
>     don’t have a BSD-compatible ‘install’ program.

If install-sh wasn't found, configure would check for install.sh in
srcdir. install.sh is a placeholder that does nothing, without it
configure would abort.
2026-04-02 11:55:42 +00:00

80 lines
1.8 KiB
YAML

# Checks that `make dist` works and builds the project with the default
# configuration.
name: Build
# Note: Keep this list in sync with DISTFILES in ../../Makefile.
on:
workflow_dispatch:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'contrib/**'
- 'etc/**'
- 'm4/**'
- 'platform/**'
- 'src/**'
- 'test/**'
- .github/workflows/build.yml
- COPYING
- Makefile
- README
- RELNOTES
- ci/printenv.sh
- config.mk.in
- config.sh.in
- configure
- configure.ac
- mkdeb.sh
- mketc.sh
pull_request:
paths:
- 'contrib/**'
- 'etc/**'
- 'm4/**'
- 'platform/**'
- 'src/**'
- 'test/**'
- .github/workflows/build.yml
- COPYING
- Makefile
- README
- RELNOTES
- ci/printenv.sh
- config.mk.in
- config.sh.in
- configure
- configure.ac
- mkdeb.sh
- mketc.sh
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d
with:
egress-policy: block
allowed-endpoints: >
github.com:443
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: print env
run: ./ci/printenv.sh
- name: configure
run: >
./configure
--prefix=/usr --enable-fatal-warnings
--disable-apparmor --disable-selinux
|| (cat config.log; exit 1)
- name: make
run: make -j "$(nproc)"
- name: make install
run: sudo make install
- name: make installcheck
run: make installcheck