mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-06 17:50:40 +03:00
24 lines
731 B
YAML
24 lines
731 B
YAML
.ubuntu: &ubuntu_def
|
|
variables:
|
|
CMAKE_VERSION: 3.9.6
|
|
before_script:
|
|
- REPOSITORY="$PWD" && cd ..
|
|
- 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
|
|
- cd "$REPOSITORY" && git submodule update --init --recursive
|
|
script:
|
|
- ./configure
|
|
- make package -C tmp
|
|
- dpkg -i build/softether-vpn*.deb
|
|
- .ci/memory-leak-test.sh
|
|
|
|
trusty:
|
|
<<: *ubuntu_def
|
|
image: ubuntu:trusty
|
|
|
|
precise:
|
|
<<: *ubuntu_def
|
|
image: ubuntu:precise
|
|
|