File tree Expand file tree Collapse file tree 2 files changed +8
-93
lines changed
Expand file tree Collapse file tree 2 files changed +8
-93
lines changed Original file line number Diff line number Diff line change 2020
2121jobs :
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 :
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 : .
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 }}
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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments