Skip to content

Commit 3b5ec2d

Browse files
committed
Run sumulatiob & memory on x86
1 parent c095216 commit 3b5ec2d

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

.github/workflows/cd-build.yaml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
matrix:
1616
build:
1717
- { os: ubuntu-24.04-arm, rust_target: aarch64-unknown-linux-gnu, manylinux: auto, wheel_arch: "manylinux*_aarch64", arch_label: "ARM64", platform_label: "Linux" }
18+
- { os: ubuntu-latest, rust_target: x86_64-unknown-linux-gnu, manylinux: auto, wheel_arch: "manylinux*_x86_64", arch_label: "x86_64", platform_label: "Linux" }
1819
python:
1920
- { tag: "cp314", version: "3.14.0", label: "3.14" }
2021

@@ -209,6 +210,8 @@ jobs:
209210
exclude:
210211
- build: { os: ubuntu-24.04-arm, rust_target: aarch64-unknown-linux-gnu, manylinux: auto, wheel_arch: "manylinux*_aarch64", arch_label: "ARM64", platform_label: "Linux" }
211212
python: { tag: "cp314", version: "3.14.0", label: "3.14" }
213+
- build: { os: ubuntu-latest, rust_target: x86_64-unknown-linux-gnu, manylinux: auto, wheel_arch: "manylinux*_x86_64", arch_label: "x86_64", platform_label: "Linux" }
214+
python: { tag: "cp314", version: "3.14.0", label: "3.14" }
212215

213216
runs-on: ${{ matrix.build.os }}
214217
name: "Python ${{ matrix.python.label }} - ${{ matrix.build.platform_label }} - ${{ matrix.build.arch_label }}"
@@ -274,9 +277,13 @@ jobs:
274277
- *test-cpython-copy-patched-dict-memo
275278

276279
codspeed:
277-
name: "CodSpeed ${{ matrix.mode.label }} - Python 3.14 - ARM64 - ${{ matrix.shard.name }}"
280+
name: "CodSpeed ${{ matrix.mode.label }} - Python 3.14 - ${{ matrix.shard.name }}"
278281
needs: leading_wheels
279-
runs-on: ubuntu-24.04-arm
282+
runs-on: ubuntu-latest
283+
env:
284+
BENCH_ARTIFACT: "Wheels-3.14-Linux-x86_64"
285+
BENCH_WHL_GLOB: "*-cp314-*-manylinux*_x86_64.whl"
286+
BENCH_WHL_FALLBACK: "*-cp314-*-musllinux*_x86_64.whl"
280287

281288
strategy:
282289
fail-fast: false
@@ -297,23 +304,18 @@ jobs:
297304
name: Download benchmark wheel artifact
298305
uses: actions/download-artifact@v4
299306
with:
300-
name: "Wheels-3.14-Linux-ARM64"
307+
name: ${{ env.BENCH_ARTIFACT }}
301308
path: dist/benchmark-wheel
302309

303310
- &find-benchmark-wheel
304311
name: Find benchmark wheel
305312
id: wheel
306313
shell: bash
307314
run: |
308-
wheel=$(find dist/benchmark-wheel -name "*-cp314-*-manylinux*_aarch64.whl" -type f | head -n1)
309-
if [[ -z "$wheel" ]]; then
310-
wheel=$(find dist/benchmark-wheel -name "*-cp314-*-musllinux*_aarch64.whl" -type f | head -n1)
311-
fi
315+
wheel=$(find dist/benchmark-wheel -name "${{ env.BENCH_WHL_GLOB }}" -type f | head -n1)
312316
if [[ -z "$wheel" ]]; then
313-
echo "No compatible wheel found"
314-
exit 1
317+
wheel=$(find dist/benchmark-wheel -name "${{ env.BENCH_WHL_FALLBACK }}" -type f | head -n1)
315318
fi
316-
echo "path=$wheel" >> "$GITHUB_OUTPUT"
317319
318320
- &setup-benchmark-env
319321
name: Setup benchmark environment
@@ -338,6 +340,10 @@ jobs:
338340
name: "CodSpeed WallTime - Python 3.14 - ARM64"
339341
needs: leading_wheels
340342
runs-on: codspeed-macro
343+
env:
344+
BENCH_ARTIFACT: "Wheels-3.14-Linux-ARM64"
345+
BENCH_WHL_GLOB: "*-cp314-*-manylinux*_aarch64.whl"
346+
BENCH_WHL_FALLBACK: "*-cp314-*-musllinux*_aarch64.whl"
341347

342348
steps:
343349
- *checkout

0 commit comments

Comments
 (0)