mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
49 lines
909 B
YAML
49 lines
909 B
YAML
variables:
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
GIT_STRATEGY: fetch
|
|
GIT_DEPTH: "1"
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
build:windows:
|
|
tags:
|
|
- windows
|
|
stage: build
|
|
script:
|
|
- export USE_SINGLE_BUILDDIR=1
|
|
- cat /proc/version
|
|
- make release-static-win64
|
|
artifacts:
|
|
paths:
|
|
- "build/release/bin"
|
|
|
|
build:osx:
|
|
tags:
|
|
- osx
|
|
stage: build
|
|
script:
|
|
- sw_vers
|
|
- export USE_SINGLE_BUILDDIR=1
|
|
- source ~/Builds/loki_env.sh
|
|
- make -j4 release-static-mac-x86_64
|
|
artifacts:
|
|
paths:
|
|
- "build/release/bin"
|
|
|
|
build:linux:
|
|
image: registry.gitlab.com/lokiproject/loki:latest
|
|
tags:
|
|
- ubuntu
|
|
stage: build
|
|
script:
|
|
- export USE_SINGLE_BUILDDIR=1
|
|
# 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"
|