mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
b9fb402ec3
commit
3c21dba189
2 files changed
+5
No files matched your search
@@ -8,6 +8,7 @@ stages:
|
||||
- ./automation/scripts/build 2>&1 | tee build.log
|
||||
artifacts:
|
||||
paths:
|
||||
- binaries/
|
||||
- xen-config
|
||||
- '*.log'
|
||||
when: always
|
||||
|
||||
@@ -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
|
||||
|
||||