From d137623dba62c129acdcc28e243370c282d24e70 Mon Sep 17 00:00:00 2001 From: Imbris Date: Tue, 16 Nov 2021 00:41:33 -0500 Subject: [PATCH] Add aarch64 build to the gitlab CI yml --- .gitlab/CI/build.gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitlab/CI/build.gitlab-ci.yml b/.gitlab/CI/build.gitlab-ci.yml index e5d2b57805..984c515584 100644 --- a/.gitlab/CI/build.gitlab-ci.yml +++ b/.gitlab/CI/build.gitlab-ci.yml @@ -84,6 +84,22 @@ coverage: - LICENSE expire_in: 1 week +.tlinux-aarch64: + image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-linux-aarch64:${CACHE_IMAGE_TAG} + script: + - ln -s /dockercache/target target + - cat ./.gitlab/scripts/linux-aarch64.sh + - source ./.gitlab/scripts/linux-aarch64.sh + - cp -r target/release/veloren-server-cli $CI_PROJECT_DIR + - cp -r target/release/veloren-voxygen $CI_PROJECT_DIR + artifacts: + paths: + - veloren-server-cli + - veloren-voxygen + - assets/ + - LICENSE + expire_in: 1 week + .twindows: image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-windows:${CACHE_IMAGE_TAG} script: @@ -170,6 +186,12 @@ air-linux: - .release-nightly-tmp-fix-airshipper tags: ["veloren/veloren", "build", "publish", "trusted"] +air-linux-aarch64: + extends: + - .tlinux-aarch64 + - .release-nightly-tmp-fix-airshipper + tags: ["veloren/veloren", "build", "publish", "trusted"] + air-windows: extends: - .twindows @@ -190,6 +212,12 @@ opt-linux: - .optional-release tags: ["veloren/veloren", "build"] +opt-linux-aarch64: + extends: + - .tlinux-aarch64 + - .optional-release + tags: ["veloren/veloren", "build"] + opt-windows: extends: - .twindows