X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=.github%2Fworkflows%2Fubuntu.yaml;fp=.github%2Fworkflows%2Fubuntu.yaml;h=028193b794170cfd3a9215977cdae146026d7fb4;hp=789850e2e3e2b752625cce8b19c6edfefa021c37;hb=b8c3dfca1640fadffbcb0c401376da13ab18a4b8;hpb=736dd64f3d60cb87f6114ec85df3833932a5a378 diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 789850e..028193b 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -4,6 +4,8 @@ on: [push, pull_request] jobs: build_and_test: runs-on: ubuntu-latest + env: + configure_flags: --enable-ipxcp --enable-multilink steps: - uses: actions/checkout@v2 @@ -12,10 +14,10 @@ jobs: run: 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 - name: configure - run: ./autogen.sh --enable-multilink --enable-ipxcp + run: ./autogen.sh ${{ env.configure_flags }} - name: build run: make V=1 CFLAGS="-O2 -g -Wno-unused-result" - name: distcheck - run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-multilink --enable-ipxcp" + run: make distcheck DISTCHECK_CONFIGURE_FLAGS="${{ env.configure_flags }}"