Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pax-utils:master commit in: .github/workflows/
Date: Sun, 29 Jan 2023 03:48:06
Message-Id: 1674964031.65f4631bdc891fb2a8cfd13f92acaeeba3d9cf2b.sam@gentoo
1 commit: 65f4631bdc891fb2a8cfd13f92acaeeba3d9cf2b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 03:44:43 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 03:47:11 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=65f4631b
7
8 .github: add Alpine CI
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 .github/workflows/ci-alpine-linux.yml | 34 ++++++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/.github/workflows/ci-alpine-linux.yml b/.github/workflows/ci-alpine-linux.yml
16 new file mode 100644
17 index 0000000..de7157c
18 --- /dev/null
19 +++ b/.github/workflows/ci-alpine-linux.yml
20 @@ -0,0 +1,34 @@
21 +name: ci_alpine_linux
22 +
23 +on: [push, pull_request]
24 +
25 +jobs:
26 +
27 + alpine:
28 + name: Alpine Linux
29 + runs-on: ubuntu-latest
30 + container: alpine:latest
31 + strategy:
32 + fail-fast: false
33 + matrix:
34 + compiler:
35 + - gcc
36 + - clang
37 + env:
38 + CC: ${{ matrix.compiler }}
39 + steps:
40 + - run: >-
41 + apk --no-cache add \
42 + build-base \
43 + clang \
44 + meson \
45 + pkgconf \
46 + py3-elftools \
47 + libcap \
48 + libcap-dev \
49 + libseccomp \
50 + libseccomp-dev
51 + - uses: actions/checkout@v2
52 + - run: meson setup -Dtests=false -Duse_fuzzing=false builddir/
53 + - run: meson compile -C builddir
54 + - run: meson test --verbose -C builddir