mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-28 20:39:53 +03:00
84bc94b232
it is better to have this enabled in yml, cause it allows to build from forks easier
21 lines
847 B
YAML
21 lines
847 B
YAML
jobs:
|
|
- job: Ubuntu_x64
|
|
pool:
|
|
vmImage: ubuntu-18.04
|
|
steps:
|
|
- checkout: self
|
|
submodules: true
|
|
persistCredentials: true
|
|
- script: sudo apt update && sudo apt-get -y install cmake gcc g++ ninja-build libncurses5-dev libreadline-dev libsodium-dev libssl-dev make zlib1g-dev liblz4-dev
|
|
displayName: 'Prepare environment'
|
|
- script: "$(Build.SourcesDirectory)/.ci/azure-pipelines/linux_build.sh"
|
|
env:
|
|
SE_BUILD_NUMBER_TOKEN: $(BUILD_NUMBER_TOKEN)
|
|
displayName: 'Build'
|
|
- script: |
|
|
.ci/appveyor-deb-install-test.sh
|
|
sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip # To build OpenVPN
|
|
sudo BUILD_BINARIESDIRECTORY=$BUILD_BINARIESDIRECTORY .ci/start-se-openvpn.sh
|
|
sudo BUILD_BINARIESDIRECTORY=$BUILD_BINARIESDIRECTORY .ci/run-openvpn-tests.sh
|
|
displayName: 'Test'
|