1
0
mirror of https://github.com/containers/netavark.git synced 2026-02-05 06:45:56 +01:00

cirrus: do not build debug bins

They are not used anywhere so it is just a waste of time and given we no
longer use a different name we cannot store them.
Instead build the examples as part of the build task.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-02-20 12:07:36 +01:00
parent a08bb557fd
commit f990a783a0
2 changed files with 1 additions and 3 deletions

View File

@@ -257,10 +257,8 @@ success_task:
API_URL_BASE: "https://api.cirrus-ci.com/v1/artifact/build/${CIRRUS_BUILD_ID}"
EXP_BINS: >-
netavark
netavark.debug
netavark.info
netavark.aarch64-unknown-linux-gnu
netavark.debug.aarch64-unknown-linux-gnu
netavark.info.aarch64-unknown-linux-gnu
clone_script: *noop
bin_cache: *ro_bin_cache

View File

@@ -19,9 +19,9 @@ _run_noarg() {
_run_build() {
# Assume we're on a fast VM, compile everything needed by the
# rest of CI since subsequent tasks may have limited resources.
make all debug=1
make build_unit # reuses some debug binaries
make all # optimized/non-debug binaries
make examples # build the examples binaries needed by the integration tests
# This will get scooped up and become part of the artifact archive.
# Identify where the binary came from to benefit downstream consumers.
cat | tee bin/netavark.info << EOF