2019-03-12 23:37:47 +03:00
|
|
|
jobs:
|
2021-03-01 06:03:28 +03:00
|
|
|
- job: Ubuntu_x64
|
2019-03-12 23:37:47 +03:00
|
|
|
pool:
|
2021-02-04 08:10:38 +03:00
|
|
|
vmImage: ubuntu-18.04
|
2019-03-12 23:37:47 +03:00
|
|
|
steps:
|
2021-04-15 13:11:35 +03:00
|
|
|
- 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
|
2021-02-19 23:22:48 +03:00
|
|
|
displayName: 'Prepare environment'
|
|
|
|
- script: "$(Build.SourcesDirectory)/.ci/azure-pipelines/linux_build.sh"
|
|
|
|
env:
|
|
|
|
SE_BUILD_NUMBER_TOKEN: $(BUILD_NUMBER_TOKEN)
|
2020-07-21 22:11:57 +03:00
|
|
|
displayName: 'Build'
|
|
|
|
- script: |
|
2019-03-12 23:37:47 +03:00
|
|
|
.ci/appveyor-deb-install-test.sh
|
2020-07-21 22:11:57 +03:00
|
|
|
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'
|