mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
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.
80 lines
1.8 KiB
YAML
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
|