summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2016-12-10 22:58:04 +0100
committerXerxes Rånby <[email protected]>2016-12-10 22:58:04 +0100
commit0ba8e7f4173c04eef40ae95baca07a8c1cedfa40 (patch)
tree9a9c81d6c380a0b0de1e77768e6759219e1e2d39
parent7a12c273df90f41485f16e69d9680cb08fc7672f (diff)
Add GitLab CI .gitlab-ci.yml, build and test each commit on aarch64 and x86-64 linux systems.
-rw-r--r--.gitlab-ci.yml69
1 files changed, 69 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0969a09
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,69 @@
+before_script:
+ - git submodule sync --recursive
+ - git submodule update --init --recursive
+
+stages:
+ - build
+ - package
+ - test
+
+build_amd64-linux_job:
+ tags:
+ - amd64
+ - linux
+ stage: build
+ script:
+ - cd make
+ - ant
+ artifacts:
+ paths:
+ - build/*
+
+build_arm64-linux_job:
+ tags:
+ - arm64
+ - linux
+ stage: build
+ script:
+ - cd make
+ - ant
+ artifacts:
+ paths:
+ - build/*
+
+package_job:
+ tags:
+ - amd64
+ - linux
+ stage: package
+ script:
+ - cd build
+ artifacts:
+ paths:
+ - build/*.jar
+
+test_amd64-linux_job:
+ tags:
+ - amd64
+ - linux
+ stage: test
+ script:
+ - cd make
+ - ant junit.run
+ - bash ./scripts/check-junit.sh ../build
+ artifacts:
+ paths:
+ - build/*test-results*.7z
+
+test_arm64-linux_job:
+ tags:
+ - arm64
+ - linux
+ stage: test
+ script:
+ - cd make
+ - ant junit.run
+ - bash ./scripts/check-junit.sh ../build
+ artifacts:
+ paths:
+ - build/*test-results*.7z \ No newline at end of file