2022-12-29 14:58:19 +00:00
|
|
|
name: ngIRCd CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- 'COPYING'
|
|
|
|
- 'ChangeLog'
|
|
|
|
- 'NEWS'
|
|
|
|
- 'contrib/**'
|
|
|
|
- 'doc/**'
|
|
|
|
- 'man/**'
|
|
|
|
- '**.md'
|
|
|
|
- '**.txt'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths-ignore:
|
|
|
|
- 'COPYING'
|
|
|
|
- 'ChangeLog'
|
|
|
|
- 'NEWS'
|
|
|
|
- 'contrib/**'
|
|
|
|
- 'doc/**'
|
|
|
|
- 'man/**'
|
|
|
|
- '**.md'
|
|
|
|
- '**.txt'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_and_distcheck:
|
|
|
|
|
2024-01-21 00:20:14 +00:00
|
|
|
name: Configure ngIRCd sources and run make targets "all" and "distcheck"
|
2022-12-29 14:58:19 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 10
|
|
|
|
|
|
|
|
steps:
|
2024-01-21 00:20:14 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: awalsh128/cache-apt-pkgs-action@v1
|
|
|
|
with:
|
2024-01-21 00:36:05 +00:00
|
|
|
packages: >
|
2024-01-21 00:48:15 +00:00
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
build-essential
|
|
|
|
expect
|
|
|
|
libident-dev
|
|
|
|
libpam0g-dev
|
|
|
|
libssl-dev
|
|
|
|
libwrap0-dev
|
|
|
|
pkg-config
|
|
|
|
telnet
|
|
|
|
zlib1g-dev
|
2024-01-21 00:20:14 +00:00
|
|
|
version: 1.0
|
2022-12-29 14:58:19 +00:00
|
|
|
- name: Generate build system files
|
|
|
|
run: ./autogen.sh
|
|
|
|
- name: Configure the build system
|
|
|
|
run: ./configure --enable-ipv6 --with-iconv --with-ident --with-openssl --with-pam --with-tcp-wrappers --with-zlib
|
|
|
|
- name: Build everything
|
|
|
|
run: make all
|
|
|
|
- name: Create distribution archive and run tests
|
|
|
|
run: make distcheck
|