Skip to content

Commit 1741a71

Browse files
Reduce TestPyPI storage load (#1730)
Spoke to the performance team, they mainly need this during feature freeze and are okay with a manual trigger. This PR makes the Linux ARM build optional to save space on TestPyPI. Successful upload of only 6 wheels (instead of 9): https://github.com/PennyLaneAI/catalyst/actions/runs/14912152653 https://test.pypi.org/project/PennyLane-Catalyst/0.12.0.dev25/#files Successful upload of 9 wheels: https://github.com/PennyLaneAI/catalyst/actions/runs/14913959135 https://test.pypi.org/project/PennyLane-Catalyst/0.12.0.dev26/#files --------- Co-authored-by: ringo-but-quantum <[email protected]>
1 parent 0fed865 commit 1741a71

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build-nightly-release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
# Run every weekday at 23:40 EDT (cron is in UTC)
66
- cron: "40 3 * * 2-6"
77
workflow_dispatch:
8+
inputs:
9+
build-linux-arm:
10+
description: 'Publish ARM wheels for Linux'
11+
default: false
12+
required: false
13+
type: boolean
814

915
jobs:
1016
setup:
@@ -36,6 +42,7 @@ jobs:
3642
uses: ./.github/workflows/build-wheel-linux-x86_64.yaml
3743

3844
linux-aarch:
45+
if: ${{ inputs.build-linux-arm }}
3946
name: Build on Linux aarch64
4047
needs: [setup]
4148
uses: ./.github/workflows/build-wheel-linux-arm64.yaml
@@ -47,6 +54,7 @@ jobs:
4754

4855
upload:
4956
name: Prepare & Upload wheels to TestPyPI
57+
if: ${{ !failure() && !cancelled() }} # needed in case linux-aarch is skipped
5058
needs: [linux-x86, macos-arm, linux-aarch]
5159
runs-on: ubuntu-22.04
5260
permissions:

frontend/catalyst/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.12.0-dev24"
19+
__version__ = "0.12.0-dev27"

0 commit comments

Comments
 (0)