Skip to content

Commit f980271

Browse files
committed
workflows: build-matplotlib: patch source, simplify python-wheels path
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 parent 244ccf3 commit f980271

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/build-matplotlib.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Checkout python-wheels
4545
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4646
with:
47-
path: python-wheels-repo
47+
path: python-wheels
4848
persist-credentials: false
4949

5050
- name: Checkout matplotlib v${{ env.MPL_VERSION }}
@@ -62,6 +62,12 @@ jobs:
6262
activate-environment: true
6363
enable-cache: false
6464

65+
# We need to patch the matplotlib source to increase a threading test
66+
# timeout for the native runners
67+
- name: patch matplotlib source
68+
run: |
69+
git apply python-wheels/patches/matplotlib/${{ env.MPL_VERSION }}/00*.patch
70+
6571
# Something changed somewhere that prevents the downloaded-at-build-time
6672
# licenses from being included in built wheels, so pre-download them so
6773
# that they exist before the build and are included.
@@ -100,7 +106,7 @@ jobs:
100106
- name: Checkout python-wheels
101107
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
102108
with:
103-
path: python-wheels-repo
109+
path: python-wheels
104110
persist-credentials: false
105111

106112
- name: Download sdist
@@ -175,7 +181,7 @@ jobs:
175181
- name: Checkout python-wheels
176182
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
177183
with:
178-
path: python-wheels-repo
184+
path: python-wheels
179185
persist-credentials: false
180186

181187
- name: Download wheels
@@ -185,7 +191,7 @@ jobs:
185191
path: dist
186192

187193
- name: Publish to GitLab PyPI registry
188-
uses: ./python-wheels-repo/actions/publish-to-gitlab
194+
uses: ./python-wheels/actions/publish-to-gitlab
189195
with:
190196
gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }}
191197
gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}

0 commit comments

Comments
 (0)