aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-alpine-linux.yml
blob: e50c97653375a8d4b813b7bb9fc7b1bad04fd3d6 (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
28
29
30
31
name: ci_alpine_linux

on: [push, pull_request]

jobs:

  alpine:
    name: Alpine Linux
    runs-on: ubuntu-latest
    container: alpine:latest
    strategy:
      fail-fast: false
      matrix:
        compiler:
          - gcc
    env:
      CC: ${{ matrix.compiler }}
    steps:
      - run: >-
          apk --no-cache add \
            build-base \
            meson \
            pkgconf \
            linux-pam \
            linux-pam-dev \
            libcap \
            libcap-dev
      - uses: actions/checkout@v2
      - run: meson setup builddir/
      - run: meson compile -C builddir
      - run: meson test --verbose -C builddir