X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fubuntu.yaml;fp=.github%2Fworkflows%2Fubuntu.yaml;h=8117d51ddb2b57d4583ce48a9c3407af74b30d2b;hb=2883dd07101bf851e2ea368f0c04c91aea85cff2;hp=0000000000000000000000000000000000000000;hpb=9c7ba0d42dee5e3f84ecb6e4fcdbefc6c1cd965c;p=ppp.git diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml new file mode 100644 index 0000000..8117d51 --- /dev/null +++ b/.github/workflows/ubuntu.yaml @@ -0,0 +1,24 @@ +name: Build and Test +on: [push, pull_request] + +jobs: + build_and_test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: install required packages + 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 + + - name: build + run: make V=1 CFLAGS="-O2 -g -Wno-unused-result" + + - name: check + run: make check + + - name: distcheck + run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-multilink --enable-ipxcp"