| 1 |
name: ci_alpine_linux |
| 2 |
|
| 3 |
on: [push, pull_request] |
| 4 |
|
| 5 |
jobs: |
| 6 |
|
| 7 |
alpine: |
| 8 |
name: Alpine Linux |
| 9 |
runs-on: ubuntu-latest |
| 10 |
container: alpine:latest |
| 11 |
strategy: |
| 12 |
fail-fast: false |
| 13 |
matrix: |
| 14 |
compiler: |
| 15 |
- gcc |
| 16 |
env: |
| 17 |
CC: ${{ matrix.compiler }} |
| 18 |
steps: |
| 19 |
- run: >- |
| 20 |
apk --no-cache add \ |
| 21 |
build-base \ |
| 22 |
meson \ |
| 23 |
pkgconf \ |
| 24 |
linux-pam \ |
| 25 |
linux-pam-dev \ |
| 26 |
libcap \ |
| 27 |
libcap-dev |
| 28 |
- uses: actions/checkout@v2 |
| 29 |
- run: meson setup builddir/ |
| 30 |
- run: meson compile -C builddir |
| 31 |
- run: meson test --verbose -C builddir |