name: C/C++ CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@v2
    - name: Install dependencies
      run: sudo apt-get install git gcc make python2.7 python-minimal flex bison liblua5.1-0-dev libmariadb-client-lgpl-dev libpq-dev libpcre3-dev zlib1g-dev
    - name: configure
      run: ./configure -R -v
    - name: make
      run: make
    - name: make install
      run: make install
