aboutsummaryrefslogtreecommitdiff
blob: 575e9597a20e7c1428553b62f982bfb568ac5f3e (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
32
33
34
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
          - clang
    env:
      CC: ${{ matrix.compiler }}
    steps:
      - run: >-
          apk --no-cache add \
            build-base \
            clang \
            meson \
            pkgconf \
            py3-elftools \
            libcap \
            libcap-dev \
            libseccomp \
            libseccomp-dev
      - uses: actions/checkout@v4
      - run: meson setup -Dtests=false -Duse_fuzzing=false builddir/
      - run: meson compile -C builddir
      - run: meson test --verbose -C builddir