-
Notifications
You must be signed in to change notification settings - Fork 28
87 lines (81 loc) · 2.67 KB
/
Copy pathpackaging.yml
File metadata and controls
87 lines (81 loc) · 2.67 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
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
jobs:
#############################################################################
# macOS
#############################################################################
macos:
name: "macOS"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
free-threaded: [""]
include:
- python-version: "3.13"
free-threaded: "ft"
uses: ./.github/workflows/_build_macos.yml
with:
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
run-test: "false"
#############################################################################
# Windows
#############################################################################
windows:
name: "Windows"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
free-threaded: [""]
include:
- python-version: "3.13"
free-threaded: "ft"
uses: ./.github/workflows/_build_windows.yml
with:
python-version: "${{ matrix.python-version }}"
free-threaded: "${{ matrix.free-threaded }}"
run-test: "${{ matrix.python-version == '3.11'}}"
#############################################################################
# Linux (CPU)
#############################################################################
linux-aarch64:
name: "Linux aarch64"
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
uses: ./.github/workflows/_build_linux.yml
with:
os: ubuntu-24.04-arm
arch: aarch64
python-version: "${{ matrix.python-version }}"
run-test: "${{ matrix.python-version == '3.10'}}"
#############################################################################
# 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"]
cuda-version: ["12.4"]
uses: ./.github/workflows/_build_linux_cuda.yml
with:
build_container: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
python-version: "${{ matrix.python-version }}"
cuda-version: "${{ matrix.cuda-version }}"
run-test: "${{ matrix.python-version == '3.11'}}"