aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-alpine-linux.yml
blob: 3c5fb06d74a8d5822ce90926e8d3be316e57e844 (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:

  gcc-musl:
    runs-on: ubuntu-latest
    container: alpine:latest
    steps:
      - name: install deps
        run: >-
          apk --no-cache add \
            build-base \
            meson \
            pkgconf \
            linux-pam \
            linux-pam-dev \
            libcap \
            libcap-dev
      - name: checkout
        uses: actions/checkout@v2
      - run: meson setup builddir/
        env:
          CC: gcc
      - run: meson compile -C builddir
        env:
          CC: gcc
      - run: meson test --verbose -C builddir
        env:
          CC: gcc