Skip to content

Commit

Permalink
Update buildwheels_macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
etphipp authored Aug 20, 2024
1 parent fc15c5a commit 8031654
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/buildwheels_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,39 +25,39 @@ jobs:
CIBW_CONFIG_SETTINGS: "cmake.define.ENABLE_PYTHON_EMBED=OFF"
CIBW_CONFIG_SETTINGS_MACOS: "cmake.define.CMAKE_Fortran_COMPILER=gfortran-12 cmake.define.CMAKE_OSX_DEPLOYMENT_TARGET=10.13 cmake.define.PYGENTEN_OPENMP=OFF cmake.define.PYGENTEN_SERIAL=ON"
CIBW_ENVIRONMENT_MACOS: OpenMP_ROOT="$(brew --prefix)/opt/libomp" MACOSX_DEPLOYMENT_TARGET=10.13
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
cd {package} &&
pytest python/test
# CIBW_TEST_REQUIRES: pytest
# CIBW_TEST_COMMAND: >
# cd {package} &&
# pytest python/test

- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

pypi-publish:
runs-on: ubuntu-latest

needs:
- build-wheels

permissions:
id-token: write

# Dedicated environments with protections for publishing are strongly recommended.
environment:
name: pypi
url: https://pypi.org/project/pygenten/

steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
# pypi-publish:
# runs-on: ubuntu-latest

# needs:
# - build-wheels

# permissions:
# id-token: write

# # Dedicated environments with protections for publishing are strongly recommended.
# environment:
# name: pypi
# url: https://pypi.org/project/pygenten/

# steps:
# - name: Retrieve release distributions
# uses: actions/download-artifact@v4
# with:
# name: release-dists
# path: dist/

# - name: Publish release distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# skip-existing: true

0 comments on commit 8031654

Please sign in to comment.