mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 10:09:52 +03:00
Azure Pipelines: refactoring, adding windows target
This commit is contained in:
parent
2f12e54fbc
commit
13b531c763
@ -1,19 +1,6 @@
|
|||||||
pool:
|
jobs:
|
||||||
vmImage: 'Ubuntu 16.04'
|
- template: .ci/azure-pipelines-linux.yml
|
||||||
|
|
||||||
variables:
|
# - template: .ci/azure-pipelines-osx.yml
|
||||||
CPACK_GENERATOR: DEB
|
|
||||||
|
|
||||||
steps:
|
- template: .ci/azure-pipelines-win.yml
|
||||||
- checkout: self
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
sudo apt -y install cmake gcc g++ libncurses5-dev libreadline-dev libssl-dev make zlib1g-dev
|
|
||||||
./configure
|
|
||||||
make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
|
||||||
.ci/appveyor-deb-install-test.sh
|
|
||||||
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
|
|
||||||
displayName: 'Ubuntu 16.04'
|
|
||||||
|
21
.ci/azure-pipelines-linux.yml
Normal file
21
.ci/azure-pipelines-linux.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
jobs:
|
||||||
|
- job: linux_64
|
||||||
|
displayName: 'Ubuntu 16.04'
|
||||||
|
pool:
|
||||||
|
vmImage: ubuntu-16.04
|
||||||
|
variables:
|
||||||
|
CPACK_GENERATOR: DEB
|
||||||
|
strategy:
|
||||||
|
maxParallel: 8
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: recursive
|
||||||
|
- script: |
|
||||||
|
sudo apt -y install cmake gcc g++ libncurses5-dev libreadline-dev libssl-dev make zlib1g-dev
|
||||||
|
./configure
|
||||||
|
make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4)
|
||||||
|
.ci/appveyor-deb-install-test.sh
|
||||||
|
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
|
||||||
|
displayName: 'Ubuntu 16.04'
|
15
.ci/azure-pipelines-win.yml
Normal file
15
.ci/azure-pipelines-win.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
jobs:
|
||||||
|
- job: win_64
|
||||||
|
displayName: 'Visual Studio 2017'
|
||||||
|
pool:
|
||||||
|
vmImage: vs2017-win2016
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
submodules: recursive
|
||||||
|
- script: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
configure
|
||||||
|
- script: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
cd tmp
|
||||||
|
nmake
|
Loading…
Reference in New Issue
Block a user