2018-07-17 07:53:52 +02:00
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
GIT_STRATEGY: fetch
|
2018-08-21 12:34:43 +02:00
|
|
|
GIT_DEPTH: "1"
|
2018-07-17 07:53:52 +02:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
|
2018-07-20 07:16:12 +02:00
|
|
|
build:windows:
|
|
|
|
tags:
|
|
|
|
- windows
|
|
|
|
stage: build
|
|
|
|
script:
|
2018-11-19 04:08:55 +01:00
|
|
|
- export USE_SINGLE_BUILDDIR=1
|
2018-07-20 07:16:12 +02:00
|
|
|
- cat /proc/version
|
2018-08-15 08:42:31 +02:00
|
|
|
- make release-static-win64
|
2018-07-20 07:16:12 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "build/release/bin"
|
|
|
|
|
|
|
|
build:osx:
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- sw_vers
|
2018-11-19 04:01:55 +01:00
|
|
|
- export USE_SINGLE_BUILDDIR=1
|
2018-07-20 07:16:12 +02:00
|
|
|
- source ~/Builds/loki_env.sh
|
|
|
|
- make -j4 release-static-mac-x86_64
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "build/release/bin"
|
|
|
|
|
2018-07-17 07:53:52 +02:00
|
|
|
build:linux:
|
|
|
|
image: registry.gitlab.com/lokiproject/loki:latest
|
|
|
|
tags:
|
|
|
|
- ubuntu
|
|
|
|
stage: build
|
|
|
|
script:
|
2018-11-19 04:01:55 +01:00
|
|
|
- export USE_SINGLE_BUILDDIR=1
|
2018-07-17 07:53:52 +02:00
|
|
|
# print our runner distro
|
|
|
|
- cat /proc/version
|
|
|
|
# print the current commit hash
|
|
|
|
- echo $CI_COMMIT_SHA
|
|
|
|
- make -j$THREAD_COUNT release-static
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "build/release/bin"
|