nightly.yml 5.2 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 15 16
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=gcc
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL
       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 29 30
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=gcc
       CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DSHA1_BACKEND=mbedTLS
       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 43 44
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=clang
       CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL
       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 57 58
    parameters:
      imageName: 'libgit2/trusty-amd64:latest'
      environmentVariables: |
       CC=clang
       CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DSHA1_BACKEND=mbedTLS
       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 74
    parameters:
      environmentVariables:
        TMPDIR: $(Agent.TempDirectory)
        PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
        LEAK_CHECK: leaks
        CMAKE_OPTIONS: -G Ninja
75
        RUN_INVASIVE_TESTS: true
76 77 78 79 80

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

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

- 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
106
  - template: powershell.yml
107 108 109 110
    parameters:
      environmentVariables:
        CMAKE_OPTIONS: -G"MinGW Makefiles"
        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
111
        RUN_INVASIVE_TESTS: true
112 113 114 115 116 117 118 119 120 121 122

- 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
123
  - template: powershell.yml
124 125 126 127
    parameters:
      environmentVariables:
        CMAKE_OPTIONS: -G"MinGW Makefiles"
        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
128
        RUN_INVASIVE_TESTS: true
129

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

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

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

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