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

View file

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