Skip to content

Commit 01ca25d

Browse files
committed
CI/Gentoo: emerge with --quiet-build y and fetch with --progress=dot:giga
Goal to make logs more managable
1 parent 0d706f2 commit 01ca25d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,17 @@ jobs:
117117
}
118118
cache_cksum > /tmp/initial-pkg-cache.cksum
119119
120+
cat <<\EOF >>/etc/portage/make.conf
121+
EMERGE_DEFAULT_OPTS="$EMERGE_DEFAULT_OPTS --quiet-build y --tree"
122+
FETCHCOMMAND="$FETCHCOMMAND --progress=dot:giga" # assumes wget default
123+
EOF
124+
120125
emerge --sync --quiet || true # can fail if cache is recent enough
121126
else
122127
emerge --sync --quiet
123128
fi
124129
'
125-
INSTALL_CMD="emerge -1 sec-keys/openpgp-keys-gentoo-release && getuto && cat /etc/portage/make.conf && emerge -vuDtkg1 @world && USE='-httpsrr -perl -extra -static-analyzer compiler-rt -openmp sanitize -adns -alt-svc -ftp -hsts -http2 -http3 -imap -pop3 -progress-meter -psl -quic -curl_quic_openssl -smtp -tftp -websockets' emerge -vuDtkg1 --noreplace --jobs=\$(nproc) --buildpkg"
130+
INSTALL_CMD="emerge -1 sec-keys/openpgp-keys-gentoo-release && getuto && cat /etc/portage/make.conf && emerge -vuDkg1 @world && USE='-httpsrr -perl -extra -static-analyzer compiler-rt -openmp sanitize -adns -alt-svc -ftp -hsts -http2 -http3 -imap -pop3 -progress-meter -psl -quic -curl_quic_openssl -smtp -tftp -websockets' emerge -vuDkg1 --noreplace --jobs=\$(nproc) --buildpkg"
126131
PACKAGES="dev-vcs/git dev-build/cmake net-misc/curl dev-libs/jansson dev-libs/libsodium virtual/pkgconfig app-portage/gentoolkit"
127132
[[ "${{ matrix.os }}" =~ musl ]] && PACKAGES="$PACKAGES sys-libs/argp-standalone"
128133
PACKAGES_API="net-libs/libmicrohttpd"

0 commit comments

Comments
 (0)