pppd: Don't include pppdconf.h in the tarball (#517) #467
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
env: | |
configure_flags: --enable-multilink --enable-systemd --enable-cbcp | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install required packages | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -qq update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -qq install \ | |
build-essential autoconf automake pkg-config libtool m4 autoconf-archive \ | |
libssl-dev libatm1-dev libpcap-dev libsystemd-dev libpam0g-dev | |
- name: configure | |
run: ./autogen.sh ${{ env.configure_flags }} | |
- name: build | |
run: make V=1 CFLAGS="-O2 -g -Wno-unused-result" | |
- name: run auto tests | |
run: VERBOSE=true make check | |
- name: distcheck | |
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="${{ env.configure_flags }}" | |
build_and_test_asan: | |
runs-on: ubuntu-latest | |
env: | |
configure_flags: --enable-multilink --enable-systemd --enable-cbcp | |
CFLAGS: '-fsanitize=address -ggdb' | |
LDFLAGS: '-fsanitize=address' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install required packages | |
run: | | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -qq update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y -qq install \ | |
build-essential autoconf automake pkg-config libtool m4 autoconf-archive \ | |
libssl-dev libatm1-dev libpcap-dev libsystemd-dev libpam0g-dev | |
- name: configure | |
run: ./autogen.sh ${{ env.configure_flags }} | |
- name: build | |
run: make V=1 CFLAGS="-O2 -g -Wno-unused-result" | |
- name: run auto tests | |
run: VERBOSE=true make check | |
- name: distcheck | |
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="${{ env.configure_flags }}" | |