2018-08-07 10:27:11 +03:00
|
|
|
.ubuntu: &ubuntu_def
|
2018-08-16 13:26:17 +03:00
|
|
|
variables:
|
2018-10-11 23:03:12 +03:00
|
|
|
CMAKE_VERSION: 3.9.6
|
2018-08-07 10:27:11 +03:00
|
|
|
before_script:
|
2018-08-13 23:53:26 +03:00
|
|
|
- REPOSITORY="$PWD" && cd ..
|
2018-08-16 13:26:17 +03:00
|
|
|
- apt-get update && apt-get install -y dpkg-dev wget g++ gcc libncurses5-dev libreadline-dev libssl-dev make zlib1g-dev git file
|
|
|
|
- wget https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz && tar -xzf cmake-${CMAKE_VERSION}.tar.gz
|
|
|
|
- cd cmake-${CMAKE_VERSION} && ./bootstrap && make install
|
2018-08-13 23:53:26 +03:00
|
|
|
- cd "$REPOSITORY" && git submodule update --init --recursive
|
2018-08-07 10:27:11 +03:00
|
|
|
script:
|
2018-08-10 18:06:14 +03:00
|
|
|
- ./configure
|
|
|
|
- make package -C tmp
|
2018-10-22 08:55:12 +03:00
|
|
|
- dpkg -i build/softether-vpn*.deb
|
2018-10-29 23:30:11 +03:00
|
|
|
- .ci/memory-leak-test.sh
|
2018-08-07 10:27:11 +03:00
|
|
|
|
|
|
|
trusty:
|
|
|
|
<<: *ubuntu_def
|
|
|
|
image: ubuntu:trusty
|
|
|
|
|
2018-10-11 23:03:12 +03:00
|
|
|
precise:
|
|
|
|
<<: *ubuntu_def
|
|
|
|
image: ubuntu:precise
|
2018-08-07 10:27:11 +03:00
|
|
|
|