Skip to content

Commit

Permalink
ci: fix python format, toggle many targets
Browse files Browse the repository at this point in the history
lets save up some github credits for now
  • Loading branch information
alemidev committed Sep 9, 2024
1 parent 8ef2924 commit dec48c9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -80,8 +80,8 @@ jobs:
strategy:
matrix:
platform:
- runner: macos-12
target: x64
#- runner: macos-12
# target: x64
- runner: macos-14
target: aarch64
steps:
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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'
Expand All @@ -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:
Expand All @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit dec48c9

Please sign in to comment.