[gjs: 1/2] CI: add a ARMV8 build test



commit 99cd64e12afcc1c4f367934dd2c781aa806df358
Author: Claudio André <claudioandre br gmail com>
Date:   Sun Jun 10 17:27:52 2018 -0300

    CI: add a ARMV8 build test

 .gitlab-ci.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b799625f..b30adba5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -323,3 +323,49 @@ zeal_11:
     TEST: "check"
     JS_GC_ZEAL: 11
   when: manual
+
+#############################################
+# Multiarch Tests
+#############################################
+.qemu: &multiarch
+  artifacts:
+    name: log
+    when: always
+    paths: *reg_files
+
+  image: docker:latest
+  variables:
+    DOCKER_DRIVER: overlay
+  services:
+    - docker:dind
+
+  script:
+    # CI starts here. Previous messages are GitLab Runner setup.
+    - 'echo;
+       echo "*********************************************";
+       echo "***     JavaScript bindings for GNOME     ***";
+       echo "***        Continuous Integration         ***";
+       echo "*********************************************";
+       echo;
+    '
+
+    # Register QEMU archs
+    - docker run --rm --privileged multiarch/qemu-user-static:register --reset
+
+    - 'docker run -v $(pwd):/cwd
+          -e DEV=$DEV -e TEST=check -e BUILD_OPTS=$BUILD_OPTS -e CC=$CC -e STATIC=$STATIC $IMAGE
+          bash -e -c "cd /cwd && test/test-ci.sh GJS"
+    '
+
+    - 'echo;
+       echo "*********************************************";
+       echo "***             See you soon              ***";
+       echo "*********************************************";
+    '
+
+armv8:
+  <<: *multiarch
+  stage: thorough_tests
+  variables:
+    IMAGE: "claudioandre/spidermonkey:fedora.aarch64.gcc"
+  when: manual


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