Skip to content

Commit 8f8ccf3

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

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
@@ -113,12 +113,17 @@ jobs:
113113
}
114114
cache_cksum > /tmp/initial-pkg-cache.cksum
115115
116+
cat <<\EOF >>/etc/portage/make.conf
117+
EMERGE_DEFAULT_OPTS="$EMERGE_DEFAULT_OPTS --quiet-build y --tree"
118+
FETCHCOMMAND="$FETCHCOMMAND --progress=dot:giga" # assumes wget default
119+
EOF
120+
116121
emerge --sync --quiet || true # can fail if cache is recent enough
117122
else
118123
emerge --sync --quiet
119124
fi
120125
'
121-
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"
126+
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"
122127
PACKAGES="dev-vcs/git dev-build/cmake net-misc/curl dev-libs/jansson dev-libs/libsodium virtual/pkgconfig app-portage/gentoolkit"
123128
[[ "${{ matrix.os }}" =~ musl ]] && PACKAGES="$PACKAGES sys-libs/argp-standalone"
124129
PACKAGES_API="net-libs/libmicrohttpd"

0 commit comments

Comments
 (0)