1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-19 06:05:01 +03:00

CI: Switch from Ubuntu 16.04 to 18.04, install libsodium

This commit:

- Switches from Ubuntu 16.04 to 18.04 for all builds, mainly in order to use a more recent version of libsodium.
- Installs libsodium, used by the WireGuard implementation.
This commit is contained in:
Davide Beatrici
2021-02-04 06:10:38 +01:00
parent ef24ff74c8
commit 2dab282eb2
7 changed files with 27 additions and 44 deletions

View File

@ -1,5 +1,5 @@
sudo: required
dist: xenial
dist: bionic
language: c
@ -20,7 +20,8 @@ matrix:
os: linux
compiler: gcc
- env: OPENSSL_VERSION="1.1.1c" LABEL="linux-ppc64le" CMAKE_VERSION="3.9.6"
os: linux-ppc64le
arch: ppc64le
os: linux
compiler: gcc
install:
- wget https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz && tar -xzf cmake-${CMAKE_VERSION}.tar.gz
@ -35,6 +36,7 @@ matrix:
os: linux
compiler: gcc
before_install:
- sudo apt-get -y install libsodium-dev
- bash .ci/build-libressl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
- env: LABEL="check stb files"
os: linux
@ -49,7 +51,7 @@ matrix:
- os: osx
compiler: clang
before_install:
- true
- brew install libsodium
script:
- ./configure
- make -C build
@ -62,6 +64,7 @@ cache:
- ${HOME}/opt
before_install:
- sudo apt-get -y install libsodium-dev
- bash .ci/build-openssl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
script: