mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci: fix python format, toggle many targets
lets save up some github credits for now
This commit is contained in:
parent
ac3df94cf9
commit
988e443e78
2 changed files with 37 additions and 37 deletions
32
.github/workflows/lua.yml
vendored
32
.github/workflows/lua.yml
vendored
|
@ -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:
|
||||||
|
|
42
.github/workflows/python.yml
vendored
42
.github/workflows/python.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue