2017-12-03 22:47:31 +03:00
|
|
|
sudo: required
|
2018-03-10 00:01:36 +03:00
|
|
|
|
2017-12-03 22:47:31 +03:00
|
|
|
language: c
|
2018-03-08 00:07:01 +03:00
|
|
|
|
2018-04-10 00:16:38 +03:00
|
|
|
env:
|
|
|
|
global:
|
2018-05-03 00:12:01 +03:00
|
|
|
- OPENSSL_INSTALL_DIR="${HOME}/opt"
|
2018-04-10 00:16:38 +03:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- env: OPENSSL_VERSION="1.0.2o"
|
|
|
|
os: linux
|
|
|
|
compiler: gcc
|
|
|
|
- env: OPENSSL_VERSION="1.1.0f"
|
|
|
|
os: linux
|
|
|
|
compiler: gcc
|
|
|
|
- env: OPENSSL_VERSION="1.0.2o"
|
|
|
|
os: linux
|
|
|
|
compiler: clang
|
|
|
|
- env: OPENSSL_VERSION="1.1.0f"
|
|
|
|
os: linux
|
|
|
|
compiler: clang
|
2018-06-28 14:23:21 +03:00
|
|
|
- env: DESCRIPTION="check debian package version"
|
|
|
|
os: linux
|
|
|
|
before_install:
|
|
|
|
- true
|
|
|
|
script:
|
|
|
|
- .ci/check-debian-package-version.sh
|
2018-05-03 00:12:01 +03:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2018-08-01 14:56:57 +03:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${HOME}/Library/Caches/Homebrew
|
2018-05-29 00:19:04 +03:00
|
|
|
before_install:
|
2018-08-01 14:24:13 +03:00
|
|
|
- brew update && brew upgrade
|
2018-05-29 00:19:04 +03:00
|
|
|
script:
|
|
|
|
- ./configure
|
|
|
|
- make -C tmp
|
|
|
|
- otool -L bin/vpnserver/vpnserver
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages: [ debhelper ]
|
2018-04-10 00:16:38 +03:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- download-cache
|
|
|
|
- ${HOME}/opt
|
2018-03-10 00:01:36 +03:00
|
|
|
|
2018-05-03 00:12:01 +03:00
|
|
|
before_install:
|
2018-05-29 00:19:04 +03:00
|
|
|
- bash .ci/build-openssl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
|
2018-05-03 00:12:01 +03:00
|
|
|
|
2018-03-10 00:01:36 +03:00
|
|
|
script:
|
2018-07-31 12:49:55 +03:00
|
|
|
- export OPENSSL_ROOT_DIR=${OPENSSL_INSTALL_DIR}
|
2018-05-29 00:19:04 +03:00
|
|
|
- export LD_LIBRARY_PATH="${HOME}/opt/lib:${LD_LIBRARY_PATH:-}"
|
|
|
|
- export CFLAGS="-I${HOME}/opt/include"
|
|
|
|
- export LDFLAGS="-L${HOME}/opt/lib"
|
|
|
|
- ./configure
|
|
|
|
- make -C tmp
|
|
|
|
- ldd bin/vpnserver/vpnserver
|
|
|
|
- dh build-arch
|