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
|
2020-01-02 13:26:41 +00:00
|
|
|
#build:linux_release:
|
|
|
|
# image: ubuntu:xenial
|
|
|
|
# tags:
|
|
|
|
# - linux
|
|
|
|
# stage: build
|
|
|
|
# before_script:
|
|
|
|
# - apt-get update && apt-get install -y binutils-gold build-essential bsdmainutils ca-certificates cmake curl git libcap-dev libcurl4-openssl-dev libsodium-dev libuv1-dev ninja-build
|
|
|
|
# script:
|
|
|
|
# - DOWNLOAD_SODIUM=ON STATIC_LINK=OFF make release
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - "build/daemon/lokinet"
|
|
|
|
# - "build/daemon/lokinetctl"
|
2018-08-23 13:30:29 +00:00
|
|
|
|
2019-12-19 01:47:21 +00:00
|
|
|
build:linux_debug:
|
|
|
|
image: ubuntu:xenial
|
2019-06-13 20:58:10 +00:00
|
|
|
tags:
|
2019-12-19 01:47:21 +00:00
|
|
|
- linux
|
2019-06-13 20:58:10 +00:00
|
|
|
stage: build
|
2019-12-19 01:47:21 +00:00
|
|
|
before_script:
|
2020-01-02 12:59:28 +00:00
|
|
|
- apt-get update && apt-get install -y binutils-gold build-essential bsdmainutils ca-certificates cmake curl git libcap-dev libcurl4-openssl-dev libsodium-dev libuv1-dev ninja-build
|
2019-06-13 20:58:10 +00:00
|
|
|
script:
|
2020-01-02 13:02:13 +00:00
|
|
|
- DOWNLOAD_SODIUM=ON IS_NOTIFICATION=1 STATIC_LINK=OFF make
|
2019-06-13 20:58:10 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-06-13 22:25:45 +00:00
|
|
|
- "lokinet"
|
2019-12-19 01:47:21 +00:00
|
|
|
- "lokinetctl"
|
|
|
|
|
|
|
|
# needs libsodium (probably libuv and libcurl too)
|
|
|
|
#build:freebsd:
|
|
|
|
# tags:
|
|
|
|
# - freebsd
|
|
|
|
# stage: build
|
|
|
|
# script:
|
|
|
|
# - gmake
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - "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"
|