From 0ba8e7f4173c04eef40ae95baca07a8c1cedfa40 Mon Sep 17 00:00:00 2001 From: Xerxes RĂ„nby Date: Sat, 10 Dec 2016 22:58:04 +0100 Subject: Add GitLab CI .gitlab-ci.yml, build and test each commit on aarch64 and x86-64 linux systems. --- .gitlab-ci.yml | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3