mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'reusable-commit-build-job' into 'master'
Reusable commit build job for linux and windows. See merge request veloren/veloren!104 Former-commit-id: 65896515ab1571917fc56e4d7f102c9452d43c91
This commit is contained in:
commit
23b76e95f9
@ -112,11 +112,19 @@ clippy:
|
||||
# Commit build
|
||||
#############
|
||||
|
||||
commit-linux-debug:
|
||||
.commit: &commit
|
||||
stage: executable
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
||||
tags:
|
||||
- veloren-docker
|
||||
except:
|
||||
- schedules
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
|
||||
commit:linux-debug:
|
||||
<<: *commit
|
||||
script:
|
||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build)
|
||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build)
|
||||
@ -132,17 +140,9 @@ commit-linux-debug:
|
||||
paths:
|
||||
- commit-linux-debug.tar.bz2
|
||||
expire_in: 1 week
|
||||
except:
|
||||
- schedules
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
|
||||
commit-windows-debug:
|
||||
stage: executable
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
||||
tags:
|
||||
- veloren-docker
|
||||
commit:windows-debug:
|
||||
<<: *commit
|
||||
script:
|
||||
- (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)
|
||||
@ -158,21 +158,21 @@ commit-windows-debug:
|
||||
paths:
|
||||
- commit-windows-debug.zip
|
||||
expire_in: 1 week
|
||||
except:
|
||||
- schedules
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
|
||||
#############
|
||||
# NIGHTLY
|
||||
#############
|
||||
|
||||
nightly-linux-optimized:
|
||||
.nightly: &nightly
|
||||
stage: executable
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
||||
tags:
|
||||
- veloren-docker
|
||||
only:
|
||||
- schedules
|
||||
|
||||
nightly:linux-optimized:
|
||||
<<: *nightly
|
||||
script:
|
||||
- (cd voxygen && VELOREN_ASSETS=assets cargo build --release)
|
||||
- (cd server-cli && VELOREN_ASSETS=assets cargo build --release)
|
||||
@ -188,14 +188,9 @@ nightly-linux-optimized:
|
||||
paths:
|
||||
- nightly-linux-optimized.tar.bz2
|
||||
expire_in: 2 days
|
||||
only:
|
||||
- schedules
|
||||
|
||||
nightly-windows-optimized:
|
||||
stage: executable
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci
|
||||
tags:
|
||||
- veloren-docker
|
||||
nightly:windows-optimized:
|
||||
<<: *nightly
|
||||
script:
|
||||
- (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)
|
||||
@ -211,5 +206,3 @@ nightly-windows-optimized:
|
||||
paths:
|
||||
- nightly-windows-optimized.zip
|
||||
expire_in: 2 days
|
||||
only:
|
||||
- schedules
|
||||
|
Loading…
Reference in New Issue
Block a user