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 }}
|
||||
path: dist/py
|
||||
|
||||
macos:
|
||||
runs-on: ${{ matrix.platform.runner }}
|
||||
strategy:
|
||||
matrix:
|
||||
platform:
|
||||
#- runner: macos-12
|
||||
# target: x86_64
|
||||
- runner: macos-14
|
||||
target: aarch64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
working-directory: dist/py
|
||||
target: ${{ matrix.platform.target }}
|
||||
container: 'off'
|
||||
args: --release --out .
|
||||
sccache: 'true'
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: codemp-py-macos-${{ matrix.platform.target }}
|
||||
path: dist/py
|
||||
#macos:
|
||||
# runs-on: ${{ matrix.platform.runner }}
|
||||
# strategy:
|
||||
# matrix:
|
||||
# platform:
|
||||
# #- runner: macos-12
|
||||
# # target: x86_64
|
||||
# - runner: macos-14
|
||||
# target: aarch64
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - uses: arduino/setup-protoc@v3
|
||||
# - uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: 3.x
|
||||
# - name: Build wheels
|
||||
# uses: PyO3/maturin-action@v1
|
||||
# with:
|
||||
# working-directory: dist/py
|
||||
# target: ${{ matrix.platform.target }}
|
||||
# container: 'off'
|
||||
# args: --release --out .
|
||||
# sccache: 'true'
|
||||
# - name: Upload wheels
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: codemp-py-macos-${{ matrix.platform.target }}
|
||||
# path: dist/py
|
||||
|
||||
sdist:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -164,10 +164,9 @@ jobs:
|
|||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
pattern: codemp-py-*
|
||||
- name: Publish to PyPI
|
||||
uses: PyO3/maturin-action@v1
|
||||
- uses: PyO3/maturin-action@v1
|
||||
env:
|
||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
with:
|
||||
command: upload
|
||||
args: --non-interactive --skip-existing codemp-py-*/*
|
||||
|
|
2
dist/py/pyproject.toml
vendored
2
dist/py/pyproject.toml
vendored
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "codemp"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
description = "code multiplexer"
|
||||
requires-python = ">= 3.8"
|
||||
license = "GPL-3.0-only"
|
||||
|
|
Loading…
Reference in a new issue