mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'xMAC94x/update_cache_image' into 'master'
update cache image for ci See merge request veloren/veloren!3203
This commit is contained in:
commit
5c18bd2b77
@ -13,7 +13,7 @@ variables:
|
||||
# https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
|
||||
GIT_DEPTH: 3
|
||||
GIT_CLEAN_FLAGS: -f
|
||||
CACHE_IMAGE_TAG: dd8d78be
|
||||
CACHE_IMAGE_TAG: d7756444
|
||||
|
||||
default:
|
||||
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines
|
||||
|
@ -68,12 +68,12 @@ coverage:
|
||||
max: 2
|
||||
|
||||
#linux, windows, macos builds here as template
|
||||
.tlinux:
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-linux:${CACHE_IMAGE_TAG}
|
||||
.tlinux-x86_64:
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-linux-x86_64:${CACHE_IMAGE_TAG}
|
||||
script:
|
||||
- ln -s /dockercache/target target
|
||||
- cat ./.gitlab/scripts/linux.sh
|
||||
- source ./.gitlab/scripts/linux.sh
|
||||
- cat ./.gitlab/scripts/linux-x86_64.sh
|
||||
- source ./.gitlab/scripts/linux-x86_64.sh
|
||||
- cp -r target/release/veloren-server-cli $CI_PROJECT_DIR
|
||||
- cp -r target/release/veloren-voxygen $CI_PROJECT_DIR
|
||||
artifacts:
|
||||
@ -100,12 +100,12 @@ coverage:
|
||||
- LICENSE
|
||||
expire_in: 1 week
|
||||
|
||||
.twindows:
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-windows:${CACHE_IMAGE_TAG}
|
||||
.twindows-x86_64:
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/release-windows-x86_64:${CACHE_IMAGE_TAG}
|
||||
script:
|
||||
- ln -s /dockercache/target target
|
||||
- cat ./.gitlab/scripts/windows.sh
|
||||
- source ./.gitlab/scripts/windows.sh
|
||||
- cat ./.gitlab/scripts/windows-x86_64.sh
|
||||
- source ./.gitlab/scripts/windows-x86_64.sh
|
||||
- cp -r target/x86_64-pc-windows-gnu/release/veloren-server-cli.exe $CI_PROJECT_DIR
|
||||
- cp -r target/x86_64-pc-windows-gnu/release/veloren-voxygen.exe $CI_PROJECT_DIR
|
||||
- cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-posix/libgcc_s_seh-1.dll $CI_PROJECT_DIR
|
||||
@ -164,19 +164,19 @@ coverage:
|
||||
- export RUST_TARGET="aarch64-apple-darwin"
|
||||
|
||||
# build on release or master
|
||||
linux:
|
||||
linux-x86_64:
|
||||
extends:
|
||||
- .tlinux
|
||||
- .tlinux-x86_64
|
||||
- .release
|
||||
tags: ["veloren/veloren", "build", "publish", "trusted"]
|
||||
|
||||
windows:
|
||||
windows-x86_64:
|
||||
extends:
|
||||
- .twindows
|
||||
- .twindows-x86_64
|
||||
- .release
|
||||
tags: ["veloren/veloren", "build", "publish", "trusted"]
|
||||
|
||||
macos:
|
||||
macos-x86_64:
|
||||
extends:
|
||||
- .tmacos-x86_64
|
||||
- .release
|
||||
@ -189,10 +189,10 @@ macos-aarch64:
|
||||
tags: ["veloren/veloren:macos", "build", "publish", "trusted"]
|
||||
|
||||
# The air-* builds are the builds that Airshipper Server expects to find in the scheduled build webhook JSON.
|
||||
# Renaming these will break Airshipper downloads!
|
||||
air-linux:
|
||||
# Renaming these will break Airshipper downloads! build on schedule quickfix till airshipper 0.5
|
||||
air-linux-x86_64:
|
||||
extends:
|
||||
- .tlinux
|
||||
- .tlinux-x86_64
|
||||
- .release-scheduled
|
||||
tags: ["veloren/veloren", "build", "publish", "trusted"]
|
||||
|
||||
@ -202,13 +202,13 @@ air-linux-aarch64:
|
||||
- .release-scheduled
|
||||
tags: ["veloren/veloren", "build", "publish", "trusted"]
|
||||
|
||||
air-windows:
|
||||
air-windows-x86_64:
|
||||
extends:
|
||||
- .twindows
|
||||
- .twindows-x86_64
|
||||
- .release-scheduled
|
||||
tags: ["veloren/veloren", "build", "publish", "trusted"]
|
||||
|
||||
air-macos:
|
||||
air-macos-x86_64:
|
||||
extends:
|
||||
- .tmacos-x86_64
|
||||
- .release-scheduled
|
||||
@ -221,9 +221,9 @@ air-macos-aarch64:
|
||||
tags: ["veloren/veloren:macos", "build", "publish", "trusted"]
|
||||
|
||||
# if NOT release or master, allow optional builds
|
||||
opt-linux:
|
||||
opt-linux-x86_64:
|
||||
extends:
|
||||
- .tlinux
|
||||
- .tlinux-x86_64
|
||||
- .optional-release
|
||||
tags: ["veloren/veloren", "build"]
|
||||
|
||||
@ -233,9 +233,9 @@ opt-linux-aarch64:
|
||||
- .optional-release
|
||||
tags: ["veloren/veloren", "build"]
|
||||
|
||||
opt-windows:
|
||||
opt-windows-x86_64:
|
||||
extends:
|
||||
- .twindows
|
||||
- .twindows-x86_64
|
||||
- .optional-release
|
||||
tags: ["veloren/veloren", "build"]
|
||||
|
||||
|
@ -21,7 +21,7 @@ docker:
|
||||
entrypoint: [""]
|
||||
tags: ["veloren/veloren", "publish", "trusted"]
|
||||
dependencies:
|
||||
- linux
|
||||
- linux-x86_64
|
||||
before_script:
|
||||
- ls "$CI_PROJECT_DIR/server-cli/"
|
||||
script:
|
||||
@ -38,7 +38,7 @@ docker-nightly:
|
||||
entrypoint: [""]
|
||||
tags: ["veloren/veloren", "publish", "trusted"]
|
||||
dependencies:
|
||||
- air-linux
|
||||
- air-linux-x86_64
|
||||
before_script:
|
||||
- ls "$CI_PROJECT_DIR/server-cli/"
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user