ci(py): re-enable macos

This commit is contained in:
əlemi 2024-09-10 00:35:07 +02:00
parent c69dc2f68a
commit 4c313bf862
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -112,34 +112,34 @@ jobs:
name: codemp-py-windows-${{ matrix.platform.target }} name: codemp-py-windows-${{ matrix.platform.target }}
path: dist/py/build path: dist/py/build
#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 ./build args: --release --out ./build
# 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/build path: dist/py/build
sdist: sdist:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -159,7 +159,7 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [linux, windows, sdist] needs: [linux, windows, macos, sdist]
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with: