Skip to content

Commit b5c07bd

Browse files
committed
test push
1 parent 6b48ac0 commit b5c07bd

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

.github/workflows/python_ci.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88

99
jobs:
10-
linux:
10+
linux-build:
1111
runs-on: ubuntu-24.04
1212
strategy:
1313
fail-fast: false
@@ -30,7 +30,7 @@ jobs:
3030
run: maturin build --verbose ${{ matrix.profile == 'release' && '--release' || '' }} --locked
3131
working-directory: ./nobodywho/python
3232

33-
windows:
33+
windows-build:
3434
runs-on: windows-latest
3535
strategy:
3636
fail-fast: false
@@ -58,18 +58,14 @@ jobs:
5858
cache: true
5959
install_runtime: true
6060
stripdown: true
61-
- name: "Move into shortly named dir"
61+
- name: "Build windows python wheel"
6262
run: |
6363
mv ./nobodywho/* C:/
6464
cd C:/
65-
- name: "Build windows python wheel"
66-
run: |
6765
cd python
6866
maturin build --verbose ${{ matrix.profile == 'release' && '--release' || '' }} --locked
6967
70-
71-
72-
mac-os:
68+
mac-os-build:
7369
runs-on: macos-14
7470
strategy:
7571
fail-fast: false
@@ -89,8 +85,27 @@ jobs:
8985
python-version: '3.13'
9086
- run: brew install maturin
9187
- name: "Build macos python wheel"
92-
run: maturin build --verbose ${{ matrix.profile == 'release' && '--release' || '' }} --locked
88+
run: maturin build --verbose ${{ matrix.profile == 'release' && '--release' || '' }} --locked --target ${{ matrix.target }}
9389
working-directory: ./nobodywho/python
90+
91+
mac-os-test-build:
92+
runs-on: macos-14
93+
strategy:
94+
fail-fast: false
95+
matrix:
96+
target:
97+
- "x86_64-apple-darwin"
98+
- "aarch64-apple-darwin"
99+
profile:
100+
- "release"
101+
steps:
102+
- uses: actions/checkout@v4
103+
- uses: actions-rust-lang/setup-rust-toolchain@v1
104+
with:
105+
target: ${{ matrix.target }}
106+
- uses: actions/setup-python@v6
107+
with:
108+
python-version: '3.13'
94109

95110

96111

0 commit comments

Comments
 (0)