1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00
SoftEtherVPN/.gitlab-ci.yml

31 lines
807 B
YAML
Raw Normal View History

.ubuntu: &ubuntu_def
variables:
2018-10-11 23:03:12 +03:00
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:
2018-08-10 18:06:14 +03:00
- ./configure
- make package -C tmp
- dpkg -i build/softether-vpn*.deb
bionic:
<<: *ubuntu_def
image: ubuntu:bionic
xenial:
<<: *ubuntu_def
image: ubuntu:xenial
trusty:
<<: *ubuntu_def
image: ubuntu:trusty
2018-10-11 23:03:12 +03:00
precise:
<<: *ubuntu_def
image: ubuntu:precise