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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user