mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Tweak to build debuginfo artifact
This commit is contained in:
parent
518e4e3a5d
commit
559587987a
@ -39,6 +39,7 @@ workflow:
|
||||
- if: $CI_MERGE_REQUEST_IID
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
- when: always
|
||||
|
||||
include:
|
||||
- local: .gitlab/CI/recompile.yml
|
||||
|
@ -34,9 +34,9 @@ benchmarks:
|
||||
.tlinux:
|
||||
script:
|
||||
- ln -s /dockercache/cache-release-linux target
|
||||
- cargo build --release
|
||||
- cp -r target/release/veloren-server-cli $CI_PROJECT_DIR
|
||||
- cp -r target/release/veloren-voxygen $CI_PROJECT_DIR
|
||||
- cargo build -Zunstable-options --profile debuginfo
|
||||
- cp -r target/debuginfo/veloren-server-cli $CI_PROJECT_DIR
|
||||
- cp -r target/debuginfo/veloren-voxygen $CI_PROJECT_DIR
|
||||
artifacts:
|
||||
paths:
|
||||
- veloren-server-cli
|
||||
@ -48,9 +48,9 @@ benchmarks:
|
||||
.twindows:
|
||||
script:
|
||||
- ln -s /dockercache/cache-release-windows target
|
||||
- cargo build --target=x86_64-pc-windows-gnu --release
|
||||
- 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
|
||||
- cargo build --target=x86_64-pc-windows-gnu -Zunstable-options --profile debuginfo
|
||||
- cp -r target/x86_64-pc-windows-gnu/debuginfo/veloren-server-cli.exe $CI_PROJECT_DIR
|
||||
- cp -r target/x86_64-pc-windows-gnu/debuginfo/veloren-voxygen.exe $CI_PROJECT_DIR
|
||||
artifacts:
|
||||
paths:
|
||||
- veloren-server-cli.exe
|
||||
@ -62,9 +62,9 @@ benchmarks:
|
||||
.tmacos:
|
||||
script:
|
||||
- ln -s /dockercache/cache-release-macos target
|
||||
- PATH="/dockercache/osxcross/target/bin:$PATH" COREAUDIO_SDK_PATH=/dockercache/osxcross/target/SDK/MacOSX10.13.sdk CC=o64-clang CXX=o64-clang++ cargo build --target x86_64-apple-darwin --release
|
||||
- cp -r target/x86_64-apple-darwin/release/veloren-server-cli $CI_PROJECT_DIR
|
||||
- cp -r target/x86_64-apple-darwin/release/veloren-voxygen $CI_PROJECT_DIR
|
||||
- PATH="/dockercache/osxcross/target/bin:$PATH" COREAUDIO_SDK_PATH=/dockercache/osxcross/target/SDK/MacOSX10.13.sdk CC=o64-clang CXX=o64-clang++ cargo build --target x86_64-apple-darwin -Zuntable-options --profile debuginfo
|
||||
- cp -r target/x86_64-apple-darwin/debuginfo/veloren-server-cli $CI_PROJECT_DIR
|
||||
- cp -r target/x86_64-apple-darwin/debuginfo/veloren-voxygen $CI_PROJECT_DIR
|
||||
artifacts:
|
||||
paths:
|
||||
- veloren-server-cli
|
||||
@ -93,14 +93,14 @@ macos:
|
||||
opt-linux:
|
||||
extends:
|
||||
- .tlinux
|
||||
- .optional-release
|
||||
- .optional-debuginfo
|
||||
|
||||
opt-windows:
|
||||
extends:
|
||||
- .twindows
|
||||
- .optional-release
|
||||
- .optional-debuginfo
|
||||
|
||||
opt-macos:
|
||||
extends:
|
||||
- .tmacos
|
||||
- .optional-release
|
||||
- .optional-debuginfo
|
||||
|
@ -1,11 +1,9 @@
|
||||
# allow_failure: true makes these pipelines manual and "non-blocking" which changed with except -> rule syntax
|
||||
.optional-release:
|
||||
.optional-debuginfo:
|
||||
stage: check
|
||||
tags:
|
||||
- veloren-docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ || $CI_PIPELINE_SOURCE == "schedule"
|
||||
when: never
|
||||
- when: manual
|
||||
allow_failure: true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user