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