Skip to content

Commit 4d7a20b

Browse files
committed
CI: Build for Gentoo (normal and musl)
1 parent ce416c1 commit 4d7a20b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- alpine:latest
2323
- archlinux:latest
2424
- clearlinux:latest
25+
- gentoo/stage3:musl-hardened
26+
- gentoo/stage3:hardened
2527
config:
2628
- cmake_args: "-DENABLE_API=ON -DCMAKE_C_COMPILER=gcc"
2729
- cmake_args: "-DENABLE_API=ON -DCMAKE_C_COMPILER=clang"
@@ -69,6 +71,12 @@ jobs:
6971
PACKAGES_CLANG="llvm"
7072
PACKAGES_GCC='' # included in c-basic
7173
;;
74+
gentoo/*)
75+
INSTALL_CMD="emerge --sync --quiet && emerge -vuDtkg --noreplace --jobs=\$(nproc)"
76+
PACKAGES="dev-vcs/git dev-build/cmake net-misc/curl dev-libs/jansson dev-libs/libsodium virtual/pkgconfig"
77+
PACKAGES_API="net-libs/libmicrohttpd"
78+
PACKAGES_CLANG="llvm-core/clang"
79+
;;
7280
esac
7381
PACKAGES="$PACKAGES ${{ matrix.config.extra_deps }}"
7482
if [[ "${{ matrix.config.cmake_args }}" =~ ENABLE_API=ON ]]; then

0 commit comments

Comments
 (0)