Merge branch 'aarch64' into 'master'

Aarch64

See merge request veloren/veloren!3013
This commit is contained in:
Imbris 2021-11-24 02:55:28 +00:00
commit f9089ac084
5 changed files with 36 additions and 2 deletions

View File

@ -13,7 +13,7 @@ variables:
# https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
GIT_DEPTH: 3
GIT_CLEAN_FLAGS: -f
CACHE_IMAGE_TAG: c94d1580
CACHE_IMAGE_TAG: f4db383e
default:
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines

View File

@ -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/aarch64-unknown-linux-gnu/release/veloren-server-cli $CI_PROJECT_DIR
- cp -r target/aarch64-unknown-linux-gnu/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

View File

@ -0,0 +1,5 @@
#!/bin/bash
export VELOREN_USERDATA_STRATEGY=executable
export PKG_CONFIG="/usr/bin/aarch64-linux-gnu-pkg-config"
time cargo build --target=aarch64-unknown-linux-gnu --release --no-default-features --features default-publish
# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)

View File

@ -1,4 +1,4 @@
#!/bin/bash
export VELOREN_USERDATA_STRATEGY=executable
time cargo build --release --no-default-features --features default-publish
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
# evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)

View File

@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Campfire waypoints in towns
- Arbitrary volume entities
- New outfit for merchants
- Nightly linux Aarch64 builds are now produced (distribution via airshipper will follow soon)
### Changed