mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci: try to make python release
not for macos because we're rate limited now, re-enable it later
This commit is contained in:
parent
e6ad4ae6ed
commit
8e76eeec30
2 changed files with 31 additions and 32 deletions
61
.github/workflows/python.yml
vendored
61
.github/workflows/python.yml
vendored
|
@ -112,34 +112,34 @@ jobs:
|
||||||
name: codemp-py-windows-${{ matrix.platform.target }}
|
name: codemp-py-windows-${{ matrix.platform.target }}
|
||||||
path: dist/py
|
path: dist/py
|
||||||
|
|
||||||
macos:
|
#macos:
|
||||||
runs-on: ${{ matrix.platform.runner }}
|
# runs-on: ${{ matrix.platform.runner }}
|
||||||
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:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
- uses: arduino/setup-protoc@v3
|
# - uses: arduino/setup-protoc@v3
|
||||||
- uses: actions/setup-python@v5
|
# - uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: 3.x
|
# python-version: 3.x
|
||||||
- name: Build wheels
|
# - name: Build wheels
|
||||||
uses: PyO3/maturin-action@v1
|
# uses: PyO3/maturin-action@v1
|
||||||
with:
|
# with:
|
||||||
working-directory: dist/py
|
# working-directory: dist/py
|
||||||
target: ${{ matrix.platform.target }}
|
# target: ${{ matrix.platform.target }}
|
||||||
container: 'off'
|
# container: 'off'
|
||||||
args: --release --out .
|
# args: --release --out .
|
||||||
sccache: 'true'
|
# sccache: 'true'
|
||||||
- name: Upload wheels
|
# - name: Upload wheels
|
||||||
uses: actions/upload-artifact@v4
|
# uses: actions/upload-artifact@v4
|
||||||
with:
|
# with:
|
||||||
name: codemp-py-macos-${{ matrix.platform.target }}
|
# name: codemp-py-macos-${{ matrix.platform.target }}
|
||||||
path: dist/py
|
# path: dist/py
|
||||||
|
|
||||||
sdist:
|
sdist:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -164,10 +164,9 @@ jobs:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: codemp-py-*
|
pattern: codemp-py-*
|
||||||
- name: Publish to PyPI
|
- uses: PyO3/maturin-action@v1
|
||||||
uses: PyO3/maturin-action@v1
|
|
||||||
env:
|
env:
|
||||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||||
with:
|
with:
|
||||||
command: upload
|
command: upload
|
||||||
args: --non-interactive --skip-existing codemp-py-*/*
|
args: --non-interactive --skip-existing codemp-py-*/*
|
||||||
|
|
2
dist/py/pyproject.toml
vendored
2
dist/py/pyproject.toml
vendored
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "codemp"
|
name = "codemp"
|
||||||
version = "0.0.5"
|
version = "0.0.6"
|
||||||
description = "code multiplexer"
|
description = "code multiplexer"
|
||||||
requires-python = ">= 3.8"
|
requires-python = ">= 3.8"
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
|
|
Loading…
Reference in a new issue