Skip to content

Commit 6a5eecb

Browse files
committed
release as arg now
1 parent a9aa8e6 commit 6a5eecb

File tree

2 files changed

+8
-93
lines changed

2 files changed

+8
-93
lines changed

.github/workflows/cross_platform_tests.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ env:
2020

2121
jobs:
2222
build_and_test:
23-
name: Build and test on ${{ matrix.os }} with Python ${{ matrix.python-version }}
24-
runs-on: ${{ matrix.os }}
23+
name: Build and test on Ubuntu with Python ${{ matrix.python-version }}
24+
runs-on: ubuntu-latest
2525
strategy:
2626
fail-fast: false # Continue with other jobs if one fails
2727
matrix:
28-
os: [ubuntu-latest, windows-latest, macos-latest]
2928
python-version: ['3.10', '3.11']
3029

3130
steps:
@@ -51,8 +50,9 @@ jobs:
5150
- name: Build package with maturin (development mode)
5251
uses: PyO3/maturin-action@v1
5352
with:
54-
target: ${{ matrix.os == 'windows-latest' && 'x64' || 'x86_64' }}
55-
args: --release develop
53+
target: x86_64
54+
command: develop
55+
args: --release
5656
sccache: 'true'
5757
python-version: ${{ matrix.python-version }}
5858
working-directory: .
@@ -64,7 +64,8 @@ jobs:
6464
- name: Build wheel
6565
uses: PyO3/maturin-action@v1
6666
with:
67-
target: ${{ matrix.os == 'windows-latest' && 'x64' || 'x86_64' }}
67+
target: x86_64
68+
command: build
6869
args: --release
6970
sccache: 'true'
7071
python-version: ${{ matrix.python-version }}
@@ -73,7 +74,7 @@ jobs:
7374
- name: Upload wheels
7475
uses: actions/upload-artifact@v4
7576
with:
76-
name: wheels-${{ matrix.os }}-py${{ matrix.python-version }}
77+
name: wheels-ubuntu-latest-py${{ matrix.python-version }}
7778
path: target/wheels/
7879

7980
# Create a release job that collects all wheels

.github/workflows/release.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

0 commit comments

Comments
 (0)