- name: Install recent git
run: |
apt-get update
- apt-get install -y git
+ apt-get install -y --no-install-recommends git-core ca-certificates
- uses: actions/checkout@v2
with:
- name: Install build tools
run: |
- apt-get install -y cmake make gcc file
+ apt-get install -y --no-install-recommends cmake make gcc libc6-dev equivs file
- name: Build libkqueue
run: |
- name: Install build dependencies
run: |
- apt-get install -y build-essential devscripts quilt
+ apt-get install -y --no-install-recommends build-essential devscripts quilt
debian/rules debian/control
- mk-build-deps -irt"apt-get -y" debian/control ;
+ mk-build-deps -irt"apt-get -y" debian/control
working-directory: freeradius
- name: Build DEBs
run: |
make deb
- mkdir debs
working-directory: freeradius
- name: Collect DEBs
with:
name: debs
+ - name: Package manager performance improvements
+ run: |
+ echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/02speedup
+ echo 'man-db man-db/auto-update boolean false' | debconf-set-selections
+
- name: Install DEBs
run: |
apt-get update
- find . -maxdepth 1 -name '*.deb' | xargs apt-get install -y
+ find . -maxdepth 1 -name '*.deb' | xargs apt-get install -y --no-install-recommends
- name: Startup test
run: |
- name: Install recent git
run: |
- yum install -y git
+ yum install -y git-core
- uses: actions/checkout@v2
with:
- name: Install build dependencies
run: |
yum install -y \
- bzip2 \
- gcc \
libcurl-devel \
- make \
- perl \
- rpm-build \
- yum-utils
+ perl
yum-builddep -y freeradius/redhat/freeradius.spec
- name: Build RPMs