forked from numba/llvmlite
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
93 lines (87 loc) · 1.92 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
jobs:
# Mac and Linux use the same template with different matrixes
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: macOS
vmImage: macos-11
matrix:
py39:
PYTHON: '3.9'
CONDA_ENV: cienv
py310:
PYTHON: '3.10'
CONDA_ENV: cienv
py311:
PYTHON: '3.11'
CONDA_ENV: cienv
py312:
PYTHON: '3.12'
CONDA_ENV: cienv
llvm15:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '15'
- template: buildscripts/azure/azure-linux-macos.yml
parameters:
name: Linux
vmImage: ubuntu-20.04
matrix:
py39:
PYTHON: '3.9'
CONDA_ENV: cienv
RUN_FLAKE8: yes
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
# temporarily disabled
# pypy:
# PYTHON: pypy
# CONDA_ENV: cienv
py39_wheel:
PYTHON: '3.9'
CONDA_ENV: cienv
WHEEL: 'yes'
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'
py39_docs:
PYTHON: '3.9'
CONDA_ENV: cienv
BUILD_DOCS: 'yes'
llvm15:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '15'
- 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