Add aarch64 build to the gitlab CI yml

This commit is contained in:
Imbris 2021-11-16 00:41:33 -05:00
parent 4bbf5c7483
commit d137623dba

View File

@ -84,6 +84,22 @@ coverage:
- LICENSE - LICENSE
expire_in: 1 week 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: .twindows:
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-windows:${CACHE_IMAGE_TAG} image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-windows:${CACHE_IMAGE_TAG}
script: script:
@ -170,6 +186,12 @@ air-linux:
- .release-nightly-tmp-fix-airshipper - .release-nightly-tmp-fix-airshipper
tags: ["veloren/veloren", "build", "publish", "trusted"] 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: air-windows:
extends: extends:
- .twindows - .twindows
@ -190,6 +212,12 @@ opt-linux:
- .optional-release - .optional-release
tags: ["veloren/veloren", "build"] tags: ["veloren/veloren", "build"]
opt-linux-aarch64:
extends:
- .tlinux-aarch64
- .optional-release
tags: ["veloren/veloren", "build"]
opt-windows: opt-windows:
extends: extends:
- .twindows - .twindows