Skip to content

Commit f14a20c

Browse files
committed
More CI
1 parent 34f5826 commit f14a20c

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

.github/workflows/dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171

172172
build-arm:
173173
runs-on: ubuntu-22.04-arm
174-
needs: [setup_concurrency]
174+
needs: [setup_concurrency, build-other]
175175
strategy:
176176
max-parallel: ${{ fromJSON(needs.setup_concurrency.outputs.max-parallel).v }}
177177
fail-fast: true

devtools/ci.py

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,17 @@ def build_other_wheels(ctx: Context, no_test: bool):
4747
if project.is_meson_project():
4848
continue
4949

50-
project.install_build_deps(
51-
wheel_path=ctx.wheel_path, other_wheel_path=ctx.other_wheel_path
52-
)
53-
project.build_wheel(
54-
wheel_path=ctx.wheel_path,
55-
other_wheel_path=ctx.other_wheel_path,
56-
install=True,
57-
)
58-
if not no_test:
59-
project.test(install_requirements=True)
50+
with ctx.handle_exception(project.name):
51+
project.install_build_deps(
52+
wheel_path=ctx.wheel_path, other_wheel_path=ctx.other_wheel_path
53+
)
54+
project.build_wheel(
55+
wheel_path=ctx.wheel_path,
56+
other_wheel_path=ctx.other_wheel_path,
57+
install=True,
58+
)
59+
if not no_test:
60+
project.test(install_requirements=True)
6061

6162

6263
@ci.command()
@@ -84,13 +85,14 @@ def build_meson_wheels(ctx: Context, no_test: bool):
8485
if not project.is_meson_project():
8586
continue
8687

87-
project.install_build_deps(
88-
wheel_path=ctx.wheel_path, other_wheel_path=ctx.other_wheel_path
89-
)
90-
project.build_wheel(
91-
wheel_path=ctx.wheel_path,
92-
other_wheel_path=ctx.other_wheel_path,
93-
install=True,
94-
)
95-
if not no_test:
96-
project.test(install_requirements=True)
88+
with ctx.handle_exception(project.name):
89+
project.install_build_deps(
90+
wheel_path=ctx.wheel_path, other_wheel_path=ctx.other_wheel_path
91+
)
92+
project.build_wheel(
93+
wheel_path=ctx.wheel_path,
94+
other_wheel_path=ctx.other_wheel_path,
95+
install=True,
96+
)
97+
if not no_test:
98+
project.test(install_requirements=True)

rdev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
black
2-
# build
2+
build
33
click
44
packaging
55
pytest

0 commit comments

Comments
 (0)