2018-08-23 13:30:29 +00:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: fetch
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
|
2019-06-26 02:34:00 +00:00
|
|
|
# disabled because cannot find -luv -lcap when building
|
|
|
|
#build:linux:
|
|
|
|
# image: alpine:latest
|
|
|
|
# tags:
|
|
|
|
# - linux
|
|
|
|
# stage: build
|
|
|
|
# before_script:
|
|
|
|
# - apk add --update g++ make cmake linux-headers libcap-dev libuv-dev
|
|
|
|
# script:
|
|
|
|
# - make STATIC_LINK=ON
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - "lokinet"
|
|
|
|
|
|
|
|
# we'll just try our travis set up for now
|
2018-08-23 13:30:29 +00:00
|
|
|
build:linux:
|
2019-06-26 02:34:00 +00:00
|
|
|
image: ubuntu:latest
|
2018-08-23 13:30:29 +00:00
|
|
|
tags:
|
|
|
|
- linux
|
|
|
|
stage: build
|
|
|
|
before_script:
|
2019-06-26 02:49:19 +00:00
|
|
|
- apt-get update && apt-get install -y build-essential cmake git libcap-dev bsdmainutils ninja-build curl git ca-certificates ccache libuv1-dev
|
2018-08-23 13:30:29 +00:00
|
|
|
script:
|
2019-06-26 02:34:00 +00:00
|
|
|
- make STATIC_LINK=OFF
|
2018-08-23 13:30:29 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- "lokinet"
|
|
|
|
|
2019-06-13 20:59:19 +00:00
|
|
|
build:freebsd:
|
2019-06-13 20:58:10 +00:00
|
|
|
tags:
|
2019-06-13 21:03:22 +00:00
|
|
|
- freebsd
|
2019-06-13 20:58:10 +00:00
|
|
|
stage: build
|
|
|
|
script:
|
2019-06-13 21:34:34 +00:00
|
|
|
- gmake
|
2019-06-13 20:58:10 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-06-13 22:25:45 +00:00
|
|
|
- "lokinet"
|
2019-06-13 20:58:10 +00:00
|
|
|
|
2018-11-09 13:26:50 +00:00
|
|
|
#build:windows:
|
|
|
|
# tags:
|
|
|
|
# - windows
|
|
|
|
# stage: build
|
|
|
|
# script:
|
|
|
|
# - make STATIC_LINK=ON AVX2=OFF JSONRPC=OFF CC=gcc CXX=g++
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - "lokinet.exe"
|