mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
automated macos builds
This commit is contained in:
parent
1fbdb9c590
commit
bf14deb5e0
@ -183,6 +183,30 @@ windows:
|
|||||||
- assets/
|
- assets/
|
||||||
- LICENSE
|
- LICENSE
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
macos:
|
||||||
|
stage: build-post
|
||||||
|
when: delayed
|
||||||
|
start_in: 5 seconds
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- /^r[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
|
- /^v[0-9]+\.[0-9]+/
|
||||||
|
- /^master$/
|
||||||
|
- /^docker-server$/
|
||||||
|
tags:
|
||||||
|
- veloren-docker
|
||||||
|
script:
|
||||||
|
- 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
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- veloren-server-cli
|
||||||
|
- veloren-voxygen
|
||||||
|
- assets/
|
||||||
|
- LICENSE
|
||||||
|
expire_in: 1 week
|
||||||
# --
|
# --
|
||||||
|
|
||||||
# -- publish
|
# -- publish
|
||||||
|
Loading…
Reference in New Issue
Block a user