aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-ubuntu.yml
blob: ceb36cef6b93b151d713f24f577b36b6f79e4ee8 (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
name: ci_ubuntu

on: [push, pull_request]

jobs:

  ubuntu:
    name: Ubuntu
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        compiler:
          - gcc
          - clang
    env:
      CC: ${{ matrix.compiler }}
    steps:
    - uses: actions/checkout@v2
    - run: sudo apt-get update -q
    - run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev ${CC}
    - run: meson setup builddir/
    - run: ninja -C builddir
    - run: ninja test --verbose -C builddir