-
Notifications
You must be signed in to change notification settings - Fork 368
141 lines (124 loc) · 4.09 KB
/
adhoc_wheels.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
name: Adhoc Wheels
on:
workflow_dispatch:
inputs:
MODE:
type: choice
required: false
options:
- pypi
- pr
- extra
description: "The build mode (`pypi` includes the web viewer, `pr` does not)"
defaults:
run:
shell: bash
permissions:
contents: "write"
id-token: "write"
deployments: "write"
jobs:
# -----------------------------------------------------------------------------------
# Build rerun-cli (rerun binaries):
build-rerun-cli-and-upload-linux-arm64:
name: "Linux-arm64: Build & Upload rerun-cli"
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
with:
CONCURRENCY: adhoc-wheels-linux-arm64
PLATFORM: linux-arm64
secrets: inherit
build-rerun-cli-and-upload-linux-x64:
name: "Linux-x64: Build & Upload rerun-cli"
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
with:
CONCURRENCY: adhoc-wheels-linux-x64
PLATFORM: linux-x64
secrets: inherit
build-rerun-cli-and-upload-macos-x64:
name: "Mac-x64: Build & Upload rerun-cli"
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
with:
CONCURRENCY: adhoc-wheels-macos-x64
PLATFORM: macos-x64
secrets: inherit
build-rerun-cli-and-upload-macos-arm64:
name: "Mac-arm64: Build & Upload rerun-cli"
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
with:
CONCURRENCY: adhoc-wheels-macos-arm64
PLATFORM: macos-arm64
secrets: inherit
build-rerun-cli-and-upload-windows-x64:
name: "Windows-x64: Build & Upload rerun-cli"
uses: ./.github/workflows/reusable_build_and_upload_rerun_cli.yml
with:
CONCURRENCY: adhoc-wheels-windows-x64
PLATFORM: windows-x64
secrets: inherit
# ---------------------------------------------------------------------------
# Build wheels:
build-wheel-linux-arm64:
needs: [build-rerun-cli-and-upload-linux-arm64]
name: "Linux-arm64: Build & Upload Wheels"
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
with:
CONCURRENCY: adhoc-wheels-linux-arm64
PLATFORM: linux-arm64
WHEEL_ARTIFACT_NAME: linux-arm64-wheel
MODE: ${{ inputs.MODE }}
secrets: inherit
build-wheel-linux-x64:
needs: [build-rerun-cli-and-upload-linux-x64]
name: "Linux-x64: Build & Upload Wheels"
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
with:
CONCURRENCY: adhoc-wheels-linux-x64
PLATFORM: linux-x64
WHEEL_ARTIFACT_NAME: linux-x64-wheel
MODE: ${{ inputs.MODE }}
secrets: inherit
build-wheel-macos-arm64:
needs: [build-rerun-cli-and-upload-macos-arm64]
name: "Macos-arm64: Build & Upload Wheels"
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
with:
CONCURRENCY: adhoc-wheels-macos-arm64
PLATFORM: macos-arm64
WHEEL_ARTIFACT_NAME: macos-arm64-wheel
MODE: ${{ inputs.MODE }}
secrets: inherit
build-wheel-macos-x64:
needs: [build-rerun-cli-and-upload-macos-x64]
name: "Macos-x64: Build & Upload Wheels"
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
with:
CONCURRENCY: adhoc-wheels-macos-x64
PLATFORM: macos-x64
WHEEL_ARTIFACT_NAME: "macos-x64-wheel"
MODE: ${{ inputs.MODE }}
secrets: inherit
build-wheel-windows-x64:
needs: [build-rerun-cli-and-upload-windows-x64]
name: "Windows-x64: Build & Upload Wheels"
uses: ./.github/workflows/reusable_build_and_upload_wheels.yml
with:
CONCURRENCY: adhoc-wheels-windows-x64
PLATFORM: windows-x64
WHEEL_ARTIFACT_NAME: windows-x64-wheel
MODE: "pypi"
secrets: inherit
# --------------------------------------------------------------------------
generate-pip-index:
name: "Generate Pip Index"
needs:
[
build-wheel-linux-arm64,
build-wheel-linux-x64,
build-wheel-macos-arm64,
build-wheel-macos-x64,
build-wheel-windows-x64,
]
uses: ./.github/workflows/reusable_pip_index.yml
with:
CONCURRENCY: adhoc-wheels
secrets: inherit