]> git.proxmox.com Git - libgit2.git/blob - azure-pipelines.yml
Drop Debian revision from symbols file
[libgit2.git] / azure-pipelines.yml
1 resources:
2 - repo: self
3
4 trigger:
5 - master
6 - maint/*
7
8 jobs:
9 - job: linux_amd64_xenial_gcc_openssl
10 displayName: 'Linux (amd64; Xenial; GCC; OpenSSL)'
11 pool:
12 vmImage: 'ubuntu-18.04'
13 steps:
14 - template: azure-pipelines/docker.yml
15 parameters:
16 docker:
17 image: xenial
18 base: ubuntu:xenial
19 environmentVariables: |
20 CC=gcc
21 CMAKE_GENERATOR=Ninja
22 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DREGEX_BACKEND=builtin -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
23 GITTEST_NEGOTIATE_PASSWORD=${{ variables.GITTEST_NEGOTIATE_PASSWORD }}
24
25 - job: linux_amd64_xenial_gcc_mbedtls
26 displayName: 'Linux (amd64; Xenial; GCC; mbedTLS)'
27 pool:
28 vmImage: 'ubuntu-18.04'
29 steps:
30 - template: azure-pipelines/docker.yml
31 parameters:
32 docker:
33 image: xenial
34 base: ubuntu:xenial
35 environmentVariables: |
36 CC=gcc
37 CMAKE_GENERATOR=Ninja
38 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
39 GITTEST_NEGOTIATE_PASSWORD=${{ variables.GITTEST_NEGOTIATE_PASSWORD }}
40
41 - job: linux_amd64_xenial_clang_openssl
42 displayName: 'Linux (amd64; Xenial; Clang; OpenSSL)'
43 pool:
44 vmImage: 'ubuntu-18.04'
45 steps:
46 - template: azure-pipelines/docker.yml
47 parameters:
48 docker:
49 image: xenial
50 base: ubuntu:xenial
51 environmentVariables: |
52 CC=clang
53 CMAKE_GENERATOR=Ninja
54 CMAKE_OPTIONS=-DUSE_HTTPS=OpenSSL -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
55 GITTEST_NEGOTIATE_PASSWORD=${{ variables.GITTEST_NEGOTIATE_PASSWORD }}
56
57 - job: linux_amd64_xenial_clang_mbedtls
58 displayName: 'Linux (amd64; Xenial; Clang; mbedTLS)'
59 pool:
60 vmImage: 'ubuntu-18.04'
61 steps:
62 - template: azure-pipelines/docker.yml
63 parameters:
64 docker:
65 image: xenial
66 base: ubuntu:xenial
67 environmentVariables: |
68 CC=clang
69 CMAKE_GENERATOR=Ninja
70 CMAKE_OPTIONS=-DUSE_HTTPS=mbedTLS -DUSE_SHA1=HTTPS -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
71 GITTEST_NEGOTIATE_PASSWORD=${{ variables.GITTEST_NEGOTIATE_PASSWORD }}
72
73 - job: macos
74 displayName: 'macOS (amd64; 10.15)'
75 pool:
76 vmImage: 'macOS-10.15'
77 steps:
78 - bash: . '$(Build.SourcesDirectory)/azure-pipelines/setup-osx.sh'
79 displayName: Setup
80 - template: azure-pipelines/bash.yml
81 parameters:
82 environmentVariables:
83 TMPDIR: $(Agent.TempDirectory)
84 PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig
85 CMAKE_GENERATOR: Ninja
86 CMAKE_OPTIONS: -DREGEX_BACKEND=regcomp_l -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=leaks -DUSE_GSSAPI=ON
87 SKIP_SSH_TESTS: true
88 GITTEST_NEGOTIATE_PASSWORD: ${{ variables.GITTEST_NEGOTIATE_PASSWORD }}
89
90 - job: windows_vs_amd64
91 displayName: 'Windows (amd64; Visual Studio)'
92 pool:
93 vmImage: 'vs2017-win2016'
94 steps:
95 - template: azure-pipelines/bash.yml
96 parameters:
97 environmentVariables:
98 CMAKE_GENERATOR: Visual Studio 15 2017
99 CMAKE_OPTIONS: -A x64 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
100 SKIP_SSH_TESTS: true
101 SKIP_NEGOTIATE_TESTS: true
102
103 - job: windows_vs_x86
104 displayName: 'Windows (x86; Visual Studio)'
105 pool:
106 vmImage: 'vs2017-win2016'
107 steps:
108 - template: azure-pipelines/bash.yml
109 parameters:
110 environmentVariables:
111 CMAKE_GENERATOR: Visual Studio 15 2017
112 CMAKE_OPTIONS: -A Win32 -DMSVC_CRTDBG=ON -DDEPRECATE_HARD=ON -DUSE_SHA1=HTTPS -DUSE_BUNDLED_ZLIB=ON
113 SKIP_SSH_TESTS: true
114 SKIP_NEGOTIATE_TESTS: true
115
116 - job: windows_mingw_amd64
117 displayName: 'Windows (amd64; MinGW)'
118 pool:
119 vmImage: 'vs2017-win2016'
120 steps:
121 - bash: . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh'
122 displayName: Setup
123 env:
124 TEMP: $(Agent.TempDirectory)
125 ARCH: amd64
126 - template: azure-pipelines/bash.yml
127 parameters:
128 environmentVariables:
129 BUILD_PATH: $(Agent.TempDirectory)\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
130 CMAKE_GENERATOR: MinGW Makefiles
131 CMAKE_OPTIONS: -DDEPRECATE_HARD=ON
132 SKIP_SSH_TESTS: true
133 SKIP_NEGOTIATE_TESTS: true
134
135 - job: windows_mingw_x86
136 displayName: 'Windows (x86; MinGW)'
137 pool:
138 vmImage: 'vs2017-win2016'
139 steps:
140 - bash: . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh'
141 displayName: Setup
142 workingDirectory: '$(Build.BinariesDirectory)'
143 env:
144 TEMP: $(Agent.TempDirectory)
145 ARCH: x86
146 - template: azure-pipelines/bash.yml
147 parameters:
148 environmentVariables:
149 BUILD_PATH: $(Agent.TempDirectory)\mingw32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\CMake\bin
150 CMAKE_GENERATOR: MinGW Makefiles
151 CMAKE_OPTIONS: -DDEPRECATE_HARD=ON
152 SKIP_SSH_TESTS: true
153 SKIP_NEGOTIATE_TESTS: true