Bläddra i källkod

CI: Azure Pipelines: enable submodules checkout

it is better to have this enabled in yml, cause it allows to build
from forks easier
Ilya Shipitsin 4 år sedan
förälder
incheckning
84bc94b232
3 ändrade filer med 12 tillägg och 0 borttagningar
  1. 3 0
      .ci/azure-pipelines/linux.yml
  2. 3 0
      .ci/azure-pipelines/macos.yml
  3. 6 0
      .ci/azure-pipelines/windows.yml

+ 3 - 0
.ci/azure-pipelines/linux.yml

@@ -3,6 +3,9 @@ jobs:
   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"

+ 3 - 0
.ci/azure-pipelines/macos.yml

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

+ 6 - 0
.ci/azure-pipelines/windows.yml

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