mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Reusable commit build job for linux and windows.
Former-commit-id: ee3dd9d3664fb8841fb6580db746f2160231543b
This commit is contained in:
parent
c053155d67
commit
d086654541
@ -114,11 +114,19 @@ clippy:
|
|||||||
# Commit build
|
# Commit build
|
||||||
#############
|
#############
|
||||||
|
|
||||||
commit-linux-debug:
|
.commit: &commit
|
||||||
stage: executable
|
stage: executable
|
||||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
image: registry.gitlab.com/veloren/veloren-docker-ci
|
||||||
tags:
|
tags:
|
||||||
- veloren-docker
|
- veloren-docker
|
||||||
|
except:
|
||||||
|
- schedules
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- master
|
||||||
|
|
||||||
|
commit:linux-debug:
|
||||||
|
<<: *commit
|
||||||
script:
|
script:
|
||||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build)
|
- (cd voxygen && VELOREN_ASSETS=assets cargo build)
|
||||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build)
|
- (cd server-cli && VELOREN_ASSETS=assets cargo build)
|
||||||
@ -134,17 +142,9 @@ commit-linux-debug:
|
|||||||
paths:
|
paths:
|
||||||
- commit-linux-debug.tar.bz2
|
- commit-linux-debug.tar.bz2
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
except:
|
|
||||||
- schedules
|
|
||||||
only:
|
|
||||||
refs:
|
|
||||||
- master
|
|
||||||
|
|
||||||
commit-windows-debug:
|
commit:windows-debug:
|
||||||
stage: executable
|
<<: *commit
|
||||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
|
||||||
tags:
|
|
||||||
- veloren-docker
|
|
||||||
script:
|
script:
|
||||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build --target=x86_64-pc-windows-gnu)
|
- (cd voxygen && VELOREN_ASSETS=assets cargo build --target=x86_64-pc-windows-gnu)
|
||||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build --target=x86_64-pc-windows-gnu)
|
- (cd server-cli && VELOREN_ASSETS=assets cargo build --target=x86_64-pc-windows-gnu)
|
||||||
@ -160,11 +160,6 @@ commit-windows-debug:
|
|||||||
paths:
|
paths:
|
||||||
- commit-windows-debug.zip
|
- commit-windows-debug.zip
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
except:
|
|
||||||
- schedules
|
|
||||||
only:
|
|
||||||
refs:
|
|
||||||
- master
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# NIGHTLY
|
# NIGHTLY
|
||||||
|
Loading…
Reference in New Issue
Block a user