ci: fix python format, toggle many targets

lets save up some github credits for now
This commit is contained in:
əlemi 2024-09-09 17:36:53 +02:00
parent ac3df94cf9
commit 988e443e78
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 37 additions and 37 deletions

View file

@ -17,12 +17,12 @@ jobs:
platform:
- runner: ubuntu-latest
target: x64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
#- runner: ubuntu-latest
# target: x86
#- runner: ubuntu-latest
# target: aarch64
#- runner: ubuntu-latest
# target: armv7
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -38,14 +38,14 @@ jobs:
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
#- runner: ubuntu-latest
# target: x86_64
#- runner: ubuntu-latest
# target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
#- runner: ubuntu-latest
# target: armv7
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -63,8 +63,8 @@ jobs:
platform:
- runner: windows-latest
target: x64
- runner: windows-latest
target: x86
#- runner: windows-latest
# target: x86
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -80,8 +80,8 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-12
target: x64
#- runner: macos-12
# target: x64
- runner: macos-14
target: aarch64
steps:

View file

@ -22,12 +22,12 @@ jobs:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
#- runner: ubuntu-latest
# target: x86
#- runner: ubuntu-latest
# target: aarch64
#- runner: ubuntu-latest
# target: armv7
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -37,8 +37,8 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
working-directory: dist/py
with:
working-directory: dist/py
target: ${{ matrix.platform.target }}
args: --release --out .
sccache: 'true'
@ -54,14 +54,14 @@ jobs:
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
#- runner: ubuntu-latest
# target: x86_64
#- runner: ubuntu-latest
# target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
#- runner: ubuntu-latest
# target: armv7
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -71,8 +71,8 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
working-directory: dist/py
with:
working-directory: dist/py
target: ${{ matrix.platform.target }}
args: --release --out .
sccache: 'true'
@ -90,8 +90,8 @@ jobs:
platform:
- runner: windows-latest
target: x64
- runner: windows-latest
target: x86
#- runner: windows-latest
# target: x86
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
@ -102,8 +102,8 @@ jobs:
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
working-directory: dist/py
with:
working-directory: dist/py
target: ${{ matrix.platform.target }}
args: --release --out .
sccache: 'true'
@ -118,8 +118,8 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-12
target: x86_64
#- runner: macos-12
# target: x86_64
- runner: macos-14
target: aarch64
steps:
@ -131,8 +131,8 @@ jobs:
python-version: 3.x
- name: Build wheels
uses: PyO3/maturin-action@v1
working-directory: dist/py
with:
working-directory: dist/py
target: ${{ matrix.platform.target }}
args: --release --out .
sccache: 'true'
@ -148,8 +148,8 @@ jobs:
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
working-directory: dist/py
with:
working-directory: dist/py
command: sdist
args: --out .
- name: Upload sdist