mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
ci(py): re-enable macos
This commit is contained in:
parent
c69dc2f68a
commit
4c313bf862
1 changed files with 29 additions and 29 deletions
58
.github/workflows/python.yml
vendored
58
.github/workflows/python.yml
vendored
|
@ -112,34 +112,34 @@ jobs:
|
|||
name: codemp-py-windows-${{ matrix.platform.target }}
|
||||
path: dist/py/build
|
||||
|
||||
#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 ./build
|
||||
# sccache: 'true'
|
||||
# - name: Upload wheels
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: codemp-py-macos-${{ matrix.platform.target }}
|
||||
# path: dist/py/build
|
||||
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 ./build
|
||||
sccache: 'true'
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: codemp-py-macos-${{ matrix.platform.target }}
|
||||
path: dist/py/build
|
||||
|
||||
sdist:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -159,7 +159,7 @@ jobs:
|
|||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [linux, windows, sdist]
|
||||
needs: [linux, windows, macos, sdist]
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue