Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3] workflow: Compile on Debian with cracklib, ldap, quota #653

Merged
merged 3 commits into from Jan 8, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 23 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -22,8 +22,8 @@ on:
env:
APT_PACKAGES: |
libtool libtool-bin automake autoconf libssl-dev libgcrypt-dev libkrb5-dev libpam0g-dev \
libdb-dev libmysqlclient-dev libavahi-client-dev libacl1-dev libcrack2-dev \
libcups2-dev tcpd libkrb5-dev
libdb-dev libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev libcups2-dev \
libkrb5-dev quota libtirpc-dev libltdl-dev tcpd libwrap0-dev

jobs:
integration_test:
Expand All @@ -38,14 +38,34 @@ jobs:
- name: Bootstrap
run: ./bootstrap
- name: Configure
run: ./configure --enable-pgp-uam --enable-krbV-uam --enable-systemd
run: ./configure --enable-krbV-uam --enable-pgp-uam --enable-systemd --with-cracklib
- name: Build
run: make -j $(nproc) all
- name: Run tests
run: make check
- name: Run distribution tests
run: make distcheck

build-debian:
name: Debian
runs-on: ubuntu-22.04
container:
image: debian:latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
apt-get update
apt-get install --assume-yes --no-install-recommends ${{ env.APT_PACKAGES }}
- name: Bootstrap
run: ./bootstrap
- name: Configure
run: ./configure --enable-debian --enable-krbV-uam --enable-pgp-uam --enable-quota --with-cracklib --with-libtirpc
- name: Build
run: make -j $(nproc) all
- name: Run tests
run: make check

build-fedora:
name: Fedora
runs-on: ubuntu-22.04
Expand Down