Skip to content

Commit 77a8871

Browse files
committed
select runner properly in test-builds-os
1 parent 837d5d8 commit 77a8871

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -650,15 +650,22 @@ jobs:
650650
uv run --no-sync python -c 'import pydantic_core._pydantic_core; print(pydantic_core._pydantic_core.__version__)'
651651
652652
test-builds-os:
653-
name: test build on ${{ matrix.os }}
653+
name: test build on ${{ matrix.platform.os }}
654654
needs: [build, build-pgo]
655655

656656
strategy:
657657
fail-fast: false
658658
matrix:
659-
os: [ubuntu, ubuntu-24.04-arm, macos, windows, windows-11-arm]
660-
661-
runs-on: ${{ matrix.os }}-latest
659+
platform:
660+
[
661+
{ os: linux, runs-on: ubuntu-latest },
662+
{ os: linux_aarch64, runs-on: ubuntu-24.04-arm },
663+
{ os: windows, runs-on: windows-latest },
664+
{ os: windows_aarch64, runs-on: windows-11-arm },
665+
{ os: macos, runs-on: macos-latest },
666+
]
667+
668+
runs-on: ${{ matrix.platform.runs-on }}
662669
steps:
663670
- uses: actions/checkout@v5
664671

0 commit comments

Comments
 (0)