-
Notifications
You must be signed in to change notification settings - Fork 1
154 lines (153 loc) · 4.18 KB
/
build.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: wheel-axle-runtime
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
read-exclusions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
{
echo 'BUILD_EXCLUSIONS<<EOF'
cat ./.github/exclusions.yaml
echo -e '\nEOF'
} >> "$GITHUB_OUTPUT"
build-ubuntu-py312:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.12'
deploy: ${{ github.event_name == 'push' }}
deploy-pip: '24.2'
deploy-setuptools: '75.1'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py312:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.12'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py312, read-exclusions ]
build-ubuntu-py311:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.11'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py311:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.11'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py311, read-exclusions ]
build-ubuntu-py310:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.10'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py310:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.10'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py310, read-exclusions ]
build-ubuntu-py39:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.9'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py39:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.9'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py39, read-exclusions ]
build-ubuntu-py38:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.8'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py38:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.8'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py38, read-exclusions ]
build-ubuntu-py313:
uses: ./.github/workflows/template.yml
with:
os: ubuntu-latest
python-version: '3.13-dev'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ read-exclusions ]
build-macos-py313:
uses: ./.github/workflows/template.yml
with:
os: macos-13
python-version: '3.13-dev'
exclude: |
{{ needs.read-exclusions.outputs.BUILD_EXCLUSIONS }}
secrets: inherit
needs: [ build-ubuntu-py313, read-exclusions ]
build-summary:
if: success() || failure()
runs-on: ubuntu-latest
name: Build Summary
needs:
- build-ubuntu-py313
- build-macos-py313
- build-ubuntu-py312
- build-macos-py312
- build-ubuntu-py311
- build-macos-py311
- build-ubuntu-py310
- build-macos-py310
- build-ubuntu-py39
- build-macos-py39
- build-ubuntu-py38
- build-macos-py38
steps:
- name: Check build matrix status
if: |
needs.build-primary.result != 'success' ||
needs.build-secondary.result != 'success'
run: exit 1