forked from oxen-io/oxen-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
55 lines (50 loc) · 954 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_STRATEGY: fetch
GIT_DEPTH: "1"
stages:
- build
- test
build:windows:
tags:
- windows
stage: build
script:
- cat /proc/version
- make release-static-win64
artifacts:
paths:
- "build/release/bin"
build:osx:
tags:
- osx
stage: build
script:
- sw_vers
- 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:
# 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"
# disable cache to ensure reproducible builds
# cache:
# paths:
# - "build"
# test:
# stage: test
# script:
# - ./test/testall