... so that it can be passed on to test stage.
Note that xen is only extracted for x86_64 build since others may not
have that. Use a directory to account for possibly different file
names on Arm.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
- ./automation/scripts/build 2>&1 | tee build.log
artifacts:
paths:
+ - binaries/
- xen-config
- '*.log'
when: always
# Extract artifacts to avoid getting rewritten by customised builds
cp xen/.config xen-config
+mkdir binaries
+if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then
+ cp xen/xen binaries/xen
+fi
# Build all the configs we care about
case ${XEN_TARGET_ARCH} in