diff mbox series

travis: add mem_sharing compile test

Message ID 20200318164450.122932-1-tamas@tklengyel.com (mailing list archive)
State New, archived
Headers show
Series travis: add mem_sharing compile test | expand

Commit Message

Tamas K Lengyel March 18, 2020, 4:44 p.m. UTC
Add compile test for mem_sharing to avoid future breakage going unnoticed.

Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
---
 .travis.yml          | 3 +++
 scripts/travis-build | 3 +++
 2 files changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 15ca9e9047..908d205d27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,6 +36,9 @@  matrix:
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- XEN_CONFIG_EXPERT=y RANDCONFIG=y debug=n
         - compiler: gcc
           env: XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- debug=y
+        - compiler: gcc
+          env: XEN_TARGET_ARCH=x86_64 XEN_CONFIG_EXPERT=y MEM_SHARING=y debug=y
+
 addons:
     apt:
         sources:
diff --git a/scripts/travis-build b/scripts/travis-build
index 0cb15a89e4..b92437e92e 100755
--- a/scripts/travis-build
+++ b/scripts/travis-build
@@ -5,6 +5,9 @@  $CC --version
 # random config or default config
 if [[ "${RANDCONFIG}" == "y" ]]; then
     make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig
+elif [[ "${MEM_SHARING}" == "y" ]]; then
+    echo "CONFIG_MEM_SHARING=y" > xen/.config
+    make -C xen olddefconfig
 else
     make -C xen defconfig
 fi