Merge branch 'xvar/update-ci-docker-image' into 'master'

Updated docker CI image to include cmake

See merge request veloren/veloren!3625
This commit is contained in:
Ben Wallis 2022-09-15 16:23:36 +00:00
commit 699493b656
2 changed files with 16 additions and 13 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: c96aef21
CACHE_IMAGE_TAG: ebce1d97
TAG_REGEX: '/^v[0-9]+\.[0-9]+\.[0-9]+$/'
default:

View File

@ -55,18 +55,21 @@ benchmarks:
# Coverage is needed on master for the README.md badge to work
# tmp remove simd as it doesnt work with tarpaulin: https://github.com/rust-lang/rust/issues/77529
coverage:
extends: .release
stage: build
image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG}
coverage: '/^\d+.\d+% coverage/'
tags: ["veloren/veloren", "check"]
script:
- ln -s /dockercache/target target
- cat ./.gitlab/scripts/coverage.sh
- source ./.gitlab/scripts/coverage.sh
retry:
max: 2
#
# 15/09/2022 - Temporarily disabled by XVar due to coverage docker cache image build issues
#
#coverage:
# extends: .release
# stage: build
# image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG}
# coverage: '/^\d+.\d+% coverage/'
# tags: ["veloren/veloren", "check"]
# script:
# - ln -s /dockercache/target target
# - cat ./.gitlab/scripts/coverage.sh
# - source ./.gitlab/scripts/coverage.sh
# retry:
# max: 2
#linux, windows, macos builds here as template
.tlinux-x86_64: