mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make nightly builds use reusable job.
Former-commit-id: d1606156f8766b965c6fe2265fcf430826c37254
This commit is contained in:
parent
d086654541
commit
f68b1ba17b
@ -165,11 +165,16 @@ commit:windows-debug:
|
|||||||
# NIGHTLY
|
# NIGHTLY
|
||||||
#############
|
#############
|
||||||
|
|
||||||
nightly-linux-optimized:
|
.nightly: &nightly
|
||||||
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
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
|
||||||
|
nightly:linux-optimized:
|
||||||
|
<<: *nightly
|
||||||
script:
|
script:
|
||||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build --release)
|
- (cd voxygen && VELOREN_ASSETS=assets cargo build --release)
|
||||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build --release)
|
- (cd server-cli && VELOREN_ASSETS=assets cargo build --release)
|
||||||
@ -185,14 +190,9 @@ nightly-linux-optimized:
|
|||||||
paths:
|
paths:
|
||||||
- nightly-linux-optimized.tar.bz2
|
- nightly-linux-optimized.tar.bz2
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
|
|
||||||
nightly-windows-optimized:
|
nightly:windows-optimized:
|
||||||
stage: executable
|
<<: *nightly
|
||||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
|
||||||
tags:
|
|
||||||
- veloren-docker
|
|
||||||
script:
|
script:
|
||||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build --release --target=x86_64-pc-windows-gnu)
|
- (cd voxygen && VELOREN_ASSETS=assets cargo build --release --target=x86_64-pc-windows-gnu)
|
||||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build --release --target=x86_64-pc-windows-gnu)
|
- (cd server-cli && VELOREN_ASSETS=assets cargo build --release --target=x86_64-pc-windows-gnu)
|
||||||
@ -208,5 +208,3 @@ nightly-windows-optimized:
|
|||||||
paths:
|
paths:
|
||||||
- nightly-windows-optimized.zip
|
- nightly-windows-optimized.zip
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
|
Loading…
Reference in New Issue
Block a user