From f990a783a089c231d608cd7d46abf4194ad4b0d3 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Thu, 20 Feb 2025 12:07:36 +0100 Subject: [PATCH] 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 --- .cirrus.yml | 2 -- contrib/cirrus/runner.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4989481..6e0c51f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index 6ecdb6e..2202ea4 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -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