mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
2dab282eb2
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.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
version: '{build}'
|
|
|
|
image: Ubuntu1804
|
|
|
|
configuration: Release
|
|
|
|
skip_branch_with_pr: true
|
|
clone_depth: 1
|
|
|
|
skip_commits:
|
|
files:
|
|
- .travis.yml
|
|
- .gitlab-ci.yml
|
|
- .azure-pipelines.yml
|
|
- .cirrus.yml
|
|
|
|
init:
|
|
- ps: Update-AppveyorBuild -Version "build-$env:APPVEYOR_BUILD_NUMBER-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
|
|
|
|
install:
|
|
- sudo apt-get -y install libsodium-dev
|
|
before_build:
|
|
- sh: "if [ ${APPVEYOR_REPO_TAG} == \"true\" ]; then .ci/appveyor-create-release-tarball.sh\nfi"
|
|
- git submodule update --init --recursive
|
|
- ./configure
|
|
build_script:
|
|
- make package -C build -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
|
- .ci/memory-leak-test.sh
|
|
test_script:
|
|
- .ci/appveyor-deb-install-test.sh
|
|
- sudo apt-get update && sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip # openvpn build deps
|
|
- sudo .ci/start-se-openvpn.sh
|
|
- sudo .ci/run-openvpn-tests.sh
|
|
|
|
deploy:
|
|
description: 'automatic release'
|
|
provider: GitHub
|
|
auth_token: $(github_token)
|
|
on:
|
|
APPVEYOR_REPO_TAG: true
|