2018-04-20 00:27:12 +03:00
|
|
|
version: '{build}'
|
|
|
|
|
2021-02-04 08:10:38 +03:00
|
|
|
image: Ubuntu1804
|
2018-04-20 00:27:12 +03:00
|
|
|
|
2018-10-24 19:16:43 +03:00
|
|
|
configuration: Release
|
2018-04-20 00:27:12 +03:00
|
|
|
|
2018-10-24 19:16:43 +03:00
|
|
|
skip_branch_with_pr: true
|
2018-04-20 00:27:12 +03:00
|
|
|
clone_depth: 1
|
|
|
|
|
2018-12-01 21:19:18 +03:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- .travis.yml
|
|
|
|
- .gitlab-ci.yml
|
2019-03-11 20:43:35 +03:00
|
|
|
- .azure-pipelines.yml
|
2019-04-02 09:16:36 +03:00
|
|
|
- .cirrus.yml
|
2018-12-01 21:19:18 +03:00
|
|
|
|
2018-04-20 00:27:12 +03:00
|
|
|
init:
|
2018-09-22 22:07:07 +03:00
|
|
|
- ps: Update-AppveyorBuild -Version "build-$env:APPVEYOR_BUILD_NUMBER-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
|
|
|
|
|
2021-02-04 08:10:38 +03:00
|
|
|
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
|
2021-04-14 13:54:20 +03:00
|
|
|
- sudo apt-get update && sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip liblz4-dev # openvpn build deps
|
2021-02-04 08:10:38 +03:00
|
|
|
- sudo .ci/start-se-openvpn.sh
|
|
|
|
- sudo .ci/run-openvpn-tests.sh
|
2018-11-08 22:20:08 +03:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
description: 'automatic release'
|
|
|
|
provider: GitHub
|
2018-11-29 20:11:47 +03:00
|
|
|
auth_token: $(github_token)
|
2018-11-08 22:20:08 +03:00
|
|
|
on:
|
2018-11-26 23:01:30 +03:00
|
|
|
APPVEYOR_REPO_TAG: true
|