1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

CI: Azure Pipelines: enable submodules checkout

it is better to have this enabled in yml, cause it allows to build
from forks easier
This commit is contained in:
Ilya Shipitsin 2021-08-26 14:34:09 +05:00
parent 78e89eb3c7
commit 84bc94b232
3 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,9 @@ jobs:
pool: pool:
vmImage: ubuntu-18.04 vmImage: ubuntu-18.04
steps: 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 - 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' displayName: 'Prepare environment'
- script: "$(Build.SourcesDirectory)/.ci/azure-pipelines/linux_build.sh" - script: "$(Build.SourcesDirectory)/.ci/azure-pipelines/linux_build.sh"

View File

@ -3,6 +3,9 @@ jobs:
pool: pool:
vmImage: macOS-latest vmImage: macOS-latest
steps: steps:
- checkout: self
submodules: true
persistCredentials: true
- script: brew install pkg-config cmake ninja ncurses readline libsodium openssl zlib - script: brew install pkg-config cmake ninja ncurses readline libsodium openssl zlib
displayName: 'Prepare environment' displayName: 'Prepare environment'
- script: '$(Build.SourcesDirectory)/.ci/azure-pipelines/macos_build.sh' - script: '$(Build.SourcesDirectory)/.ci/azure-pipelines/macos_build.sh'

View File

@ -3,6 +3,9 @@ jobs:
pool: pool:
vmImage: windows-latest vmImage: windows-latest
steps: steps:
- checkout: self
submodules: true
persistCredentials: true
- template: "windows-steps.yml" - template: "windows-steps.yml"
parameters: parameters:
architecture: "x64" architecture: "x64"
@ -13,6 +16,9 @@ jobs:
pool: pool:
vmImage: windows-latest vmImage: windows-latest
steps: steps:
- checkout: self
submodules: true
persistCredentials: true
- template: "windows-steps.yml" - template: "windows-steps.yml"
parameters: parameters:
architecture: "x86" architecture: "x86"