-
Notifications
You must be signed in to change notification settings - Fork 322
/
azure-pipelines.yml
99 lines (92 loc) · 2.07 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
jobs:
# Mac and Linux use the same template with different matrixes
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: macOS
vmImage: macos-12
matrix:
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
py311:
PYTHON: '3.11'
CONDA_ENV: cienv
py312:
PYTHON: '3.12'
CONDA_ENV: cienv
py313:
PYTHON: '3.13'
CONDA_ENV: cienv
llvm16:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '16'
opaque_pointers:
PYTHON: '3.12'
CONDA_ENV: cienv
OPAQUE_POINTERS: yes
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: Linux
vmImage: ubuntu-20.04
matrix:
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
RUN_FLAKE8: yes
py311:
PYTHON: '3.11'
CONDA_ENV: cienv
RUN_FLAKE8: yes
RUN_CLANG_FORMAT: yes
py312:
PYTHON: '3.12'
CONDA_ENV: cienv
RUN_FLAKE8: yes
RUN_CLANG_FORMAT: yes
py313:
PYTHON: '3.13'
CONDA_ENV: cienv
RUN_FLAKE8: yes
RUN_CLANG_FORMAT: yes
# temporarily disabled
# pypy:
# PYTHON: pypy
# CONDA_ENV: cienv
py310_wheel:
PYTHON: '3.10'
CONDA_ENV: cienv
WHEEL: 'yes'
py311_wheel:
PYTHON: '3.11'
CONDA_ENV: cienv
WHEEL: 'yes'
py312_wheel:
PYTHON: '3.12'
CONDA_ENV: cienv
WHEEL: 'yes'
py313_wheel:
PYTHON: '3.13'
CONDA_ENV: cienv
WHEEL: 'yes'
llvm16:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '16'
opaque_pointers:
PYTHON: '3.12'
CONDA_ENV: cienv
OPAQUE_POINTERS: yes
- template: buildscripts/azure/azure-windows.yml
parameters:
name: Windows
vmImage: windows-2019
- job: check_formatting
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
set -e
sudo apt install -y clang-format
clang-format -n -Werror ffi/*.cpp ffi/*.h
displayName: Check C++ formatting