nightly.yml 5.56 KB
Newer Older
1 2 3
resources:
- repo: self

4
jobs:
5 6 7 8 9
- job: linux_amd64_trusty_gcc_openssl
  displayName: 'Linux (amd64; Trusty; GCC; OpenSSL)'
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
10
  - template: docker.yml
11 12 13 14
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=gcc
15
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON
16
       LEAK_CHECK=valgrind
17
       RUN_INVASIVE_TESTS=true
18 19 20 21 22 23

- job: linux_amd64_trusty_gcc_mbedtls
  displayName: 'Linux (amd64; Trusty; GCC; mbedTLS)'
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
24
  - template: docker.yml
25 26 27 28
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=gcc
29
       CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON
30
       LEAK_CHECK=valgrind
31
       RUN_INVASIVE_TESTS=true
32 33 34 35 36 37

- job: linux_amd64_trusty_clang_openssl
  displayName: 'Linux (amd64; Trusty; Clang; OpenSSL)'
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
38
  - template: docker.yml
39 40 41 42
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=clang
43
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
44
       LEAK_CHECK=valgrind
45
       RUN_INVASIVE_TESTS=true
46 47 48 49 50 51

- job: linux_amd64_trusty_clang_mbedtls
  displayName: 'Linux (amd64; Trusty; Clang; mbedTLS)'
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
52
  - template: docker.yml
53 54 55 56
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=clang
57
       CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON
58
       LEAK_CHECK=valgrind
59
       RUN_INVASIVE_TESTS=true
60 61 62 63 64 65 66 67

- job: macos
  displayName: 'macOS'
  pool:
    vmImage: 'macOS 10.13'
  steps:
  - bash: . '$(Build.SourcesDirectory)/ci/setup-osx.sh'
    displayName: Setup
68
  - template: bash.yml
69 70 71 72 73
    parameters:
      environmentVariables:
        TMPDIR: $(Agent.TempDirectory)
        PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
        LEAK_CHECK: leaks
74
        CMAKE_OPTIONS: -G Ninja -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON
75
        RUN_INVASIVE_TESTS: true
76
        SKIP_SSH_TESTS: true
77 78 79 80 81

- job: windows_vs_amd64
  displayName: 'Windows (amd64; Visual Studio)'
  pool: Hosted
  steps:
82
  - template: powershell.yml
83 84
    parameters:
      environmentVariables:
85
        CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013 Win64" -DDEPRECATE_HARD=ON
86
        RUN_INVASIVE_TESTS: true
87 88 89 90 91

- job: windows_vs_x86
  displayName: 'Windows (x86; Visual Studio)'
  pool: Hosted
  steps:
92
  - template: powershell.yml
93 94
    parameters:
      environmentVariables:
95
        CMAKE_OPTIONS: -DMSVC_CRTDBG=ON -G"Visual Studio 12 2013" -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS
96
        RUN_INVASIVE_TESTS: true
97 98 99 100 101 102 103 104 105 106

- job: windows_mingw_amd64
  displayName: 'Windows (amd64; MinGW)'
  pool: Hosted
  steps:
  - powershell: . '$(Build.SourcesDirectory)\ci\setup-mingw.ps1'
    displayName: Setup
    env:
      TEMP: $(Agent.TempDirectory)
      ARCH: amd64
107
  - template: powershell.yml
108 109
    parameters:
      environmentVariables:
110
        CMAKE_OPTIONS: -G"MinGW Makefiles" -DDEPRECATE_HARD=ON
111
        PATH: $(Agent.TempDirectory)\mingw64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
112
        RUN_INVASIVE_TESTS: true
113 114 115 116 117 118 119 120 121 122 123

- job: windows_mingw_x86
  displayName: 'Windows (x86; MinGW)'
  pool: Hosted
  steps:
  - powershell: . '$(Build.SourcesDirectory)\ci\setup-mingw.ps1'
    displayName: Setup
    workingDirectory: '$(Build.BinariesDirectory)'
    env:
      TEMP: $(Agent.TempDirectory)
      ARCH: x86
124
  - template: powershell.yml
125 126
    parameters:
      environmentVariables:
127
        CMAKE_OPTIONS: -G"MinGW Makefiles" -DDEPRECATE_HARD=ON
128
        PATH: $(Agent.TempDirectory)\mingw32\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CMake\bin
129
        RUN_INVASIVE_TESTS: true
130

131 132
- job: linux_x86_bionic_gcc_openssl
  displayName: 'Linux (x86; Bionic; GCC; OpenSSL)'
133 134 135 136 137 138
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - template: docker.yml
    parameters:
      qemu: 'true'
139
      imageName: 'libgit2/bionic-x86:latest'
140 141
      environmentVariables: |
       CC=gcc
142
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
143
       LEAK_CHECK=valgrind
144
       RUN_INVASIVE_TESTS=true
145

146 147
- job: linux_x86_bionic_clang_openssl
  displayName: 'Linux (x86; Bionic; Clang; OpenSSL)'
148 149 150 151 152 153
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - template: docker.yml
    parameters:
      qemu: 'true'
154
      imageName: 'libgit2/bionic-x86:latest'
155 156
      environmentVariables: |
       CC=clang
157
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
158
       LEAK_CHECK=valgrind
159
       RUN_INVASIVE_TESTS=true
160

161 162
- job: linux_arm32_bionic_gcc_openssl
  displayName: 'Linux (arm32; Bionic; GCC; OpenSSL)'
163 164 165 166 167 168
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - template: docker.yml
    parameters:
      qemu: 'true'
169
      imageName: 'libgit2/bionic-arm32:latest'
170 171
      environmentVariables: |
       CC=gcc
172
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
173
       RUN_INVASIVE_TESTS=true
174 175
       SKIP_PROXY_TESTS=true

176 177
- job: linux_arm64_bionic_gcc_openssl
  displayName: 'Linux (arm64; Bionic; GCC; OpenSSL)'
178 179 180 181 182 183
  pool:
    vmImage: 'Ubuntu 16.04'
  steps:
  - template: docker.yml
    parameters:
      qemu: 'true'
184
      imageName: 'libgit2/bionic-arm64:latest'
185 186
      environmentVariables: |
       CC=gcc
187
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON
188
       RUN_INVASIVE_TESTS=true
189
       SKIP_PROXY_TESTS=true