automation: also specify xen binary as artifact on x86_64

... 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>
This commit is contained in:
Wei Liu committed 2018-11-20 18:15:39 +00:00
1 parent b9fb402ec3
commit 3c21dba189
2 files changed
+5

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ stages:
- ./automation/scripts/build 2>&1 | tee build.log
artifacts:
paths:
- binaries/
- xen-config
- '*.log'
when: always
+4
View File
@@ -28,6 +28,10 @@ make -j$(nproc) dist
# 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.