Skip to content

Commit ce819ff

Browse files
committed
Determine which environments are supported
1 parent b86b5f1 commit ce819ff

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ jobs:
1010
build-packages:
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest, macos-latest]
13+
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-15-intel]
1414
include:
15+
- os: ubuntu-latest
16+
arch: x64
17+
- os: ubuntu-24.04-arm
18+
arch: arm
19+
- os: macos-latest
20+
arch: arm
21+
- os: macos-15-intel
22+
arch: x64
1523
- os: windows-latest
1624
arch: win_amd64
1725
vcpkg_arch: x64
@@ -84,11 +92,11 @@ jobs:
8492
python -m pip install build
8593
8694
- name: Build source dist
87-
if: runner.os == 'Linux'
95+
if: matrix.os == 'ubuntu-latest'
8896
run: python -m build --sdist
8997

9098
- name: Upload packages
9199
uses: actions/upload-artifact@v4
92100
with:
93-
name: speakeasy2-python-${{ matrix.os }}-${{ matrix.arch || 'all' }}-${{ github.sha }}
101+
name: speakeasy2-python-${{ matrix.os }}-${{ matrix.arch }}-${{ github.sha }}
94102
path: dist/*

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
jobs:
77
build-packages:
88
strategy:
9+
fail-fast: false
910
matrix:
1011
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1112
os:
1213
[
1314
ubuntu-latest,
1415
ubuntu-24.04-arm,
1516
windows-latest,
16-
windows-11-arm,
1717
macos-15-intel,
1818
macos-latest,
1919
]

0 commit comments

Comments
 (0)