-
Notifications
You must be signed in to change notification settings - Fork 29
117 lines (110 loc) · 3.66 KB
/
Copy pathpackaging.yml
File metadata and controls
117 lines (110 loc) · 3.66 KB
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
name: "Package"
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "docs/**"
- "examples/**"
- "*.md"
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
#############################################################################
# macOS
#############################################################################
macos:
name: "macOS"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
free-threaded: [""]
include:
- python-version: "3.13"
free-threaded: "ft"
- python-version: "3.14"
free-threaded: "ft"
uses: ./.github/workflows/_build_macos.yml
with:
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
run-test: "false"
test-concurrency: 3
#############################################################################
# Windows
#############################################################################
windows:
name: "Windows"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
free-threaded: [""]
cuda-version: ["13.0.3"]
include:
- python-version: "3.13"
free-threaded: "ft"
cuda-version: "13.0.3"
- python-version: "3.14"
free-threaded: "ft"
cuda-version: "13.0.3"
uses: ./.github/workflows/_build_windows.yml
with:
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
cuda-version: "${{ matrix.cuda-version }}"
run-test: "${{ (matrix.python-version == '3.13') && (matrix.free-threaded != 'ft') }}"
test-concurrency: 3
#############################################################################
# Linux (aarch64)
#############################################################################
linux-aarch64:
name: "Linux aarch64"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
free-threaded: [""]
include:
- python-version: "3.13"
free-threaded: "ft"
- python-version: "3.14"
free-threaded: "ft"
uses: ./.github/workflows/_build_linux.yml
with:
machine: ubuntu-24.04-arm
arch: aarch64
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
run-test: "${{ (matrix.python-version == '3.14') && (matrix.free-threaded != 'ft') }}"
test-concurrency: 3
#############################################################################
# Linux (CUDA)
#############################################################################
linux-x86-cuda:
name: "Linux x86_64 CUDA"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
cuda-version: ["13.0.3"]
free-threaded: [""]
include:
- python-version: "3.13"
free-threaded: "ft"
cuda-version: "13.0.3"
- python-version: "3.14"
free-threaded: "ft"
cuda-version: "13.0.3"
uses: ./.github/workflows/_build_linux_cuda.yml
with:
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
cuda-version: "${{ matrix.cuda-version }}"
run-test: "${{ (matrix.python-version == '3.12') && (matrix.free-threaded != 'ft') }}"
test-concurrency: 3