summaryrefslogtreecommitdiff
path: root/.github/workflows/ci-linux.yml
blob: a622bbc0ae08606c836c1981a63d447b8d16e1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Linux CI
on:
  - pull_request
  - push
jobs:
  build:
    runs-on: ubuntu-16.04
    env:
      CXXFLAGS: -std=${{ matrix.standard }}
      TEST_BUILD_MODULES: argon2 geo_maxmind ldap mysql pgsql regex_pcre regex_posix regex_re2 regex_stdlib regex_tre sqlite3 ssl_gnutls ssl_mbedtls ssl_openssl sslrehashsignal
    steps:
      - uses: actions/checkout@v2
      - name: Install dependencies
        run: |
          sudo apt-get update --assume-yes
          sudo apt-get install --assume-yes --no-install-recommends clang g++ git make libc++-dev libc++abi-dev pkg-config
          sudo apt-get install --assume-yes --no-install-recommends libargon2-dev libgnutls28-dev libldap2-dev libmaxminddb-dev libmbedtls-dev libmysqlclient-dev libpcre3-dev libpq-dev libre2-dev libsqlite3-dev libssl-dev libtre-dev
      - name: Run test-build
        run: ./tools/test-build ${{ matrix.compiler }}
    strategy:
      matrix:
        compiler:
          - clang++
          - g++
        standard:
          - gnu++98
          - c++14