[gnome-control-center] CI: add ARMV8 and PPC64LE build tests



commit 22132a2c9194766320e50ecdb46d00c4fce8c4fb
Author: Claudio André <claudioandre br gmail com>
Date:   Thu Jun 21 16:22:19 2018 -0300

    CI: add ARMV8 and PPC64LE build tests

 .gitlab-ci.yml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fbf97c4b1..3a5fc53a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -232,3 +232,42 @@ msan:
     BUILD_OPTS: "-Db_sanitize=memory"
     CC: "clang"
   when : manual
+
+# Run multiarch Tests
+##
+.qemu: &multiarch
+  <<: *save_build_logs
+  image: docker:latest
+  services:
+    - docker:dind
+
+  script:
+    # Register QEMU archs
+    - docker run --rm --privileged multiarch/qemu-user-static:register --reset
+
+    # Run the multiarch test job using QEMU
+    - 'docker run -v $(pwd):/cwd $IMAGE bash -e -c "cd /cwd &&
+         echo == Building == &&
+         rm -rf _build/ &&
+         meson . _build ${BUILD_OPTS} &&
+         ninja -C _build 2>&1 | tee compilation.log &&
+
+         echo == Testing == &&
+         ninja -C _build test"
+    '
+
+armv8:
+  <<: *multiarch
+  stage: test
+  variables:
+    DOCKER_DRIVER: overlay
+    IMAGE: "claudioandre/settings:fedora.aarch64"
+  when: manual
+
+ppc64le:
+  <<: *multiarch
+  stage: test
+  variables:
+    DOCKER_DRIVER: overlay
+    IMAGE: "claudioandre/settings:fedora.ppc64le"
+  when: manual


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]