forked from pyscf/pyscf
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,15 +97,16 @@ jobs: | |
packages-dir: ${{ github.workspace }}/dist | ||
verbose: true | ||
|
||
release-pypi-macos: | ||
name: Build wheels on macos | ||
runs-on: macos-latest | ||
release-pypi-macos-x86: | ||
name: Build wheels for macos | ||
runs-on: macosx_x86_64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: cp39-macosx_x86_64 cp39-macosx_arm64 | ||
CIBW_BUILD: cp311-macosx_x86_64 | ||
CIBW_BUILD_VERBOSITY: "1" | ||
CMAKE_CONFIGURE_ARGS: "-DWITH_F12=OFF" | ||
with: | ||
output-dir: mac-wheels | ||
|
@@ -117,7 +118,31 @@ jobs: | |
pip install twine | ||
export TWINE_USERNAME=__token__ | ||
export TWINE_PASSWORD="${{ secrets.PYPI_API_TOKEN }}" | ||
twine upload --verbose /mac-wheels/* | ||
twine upload --verbose mac-wheels/* | ||
release-pypi-macos-arm64: | ||
name: Build wheels for Apple M chips | ||
runs-on: macosx_x86_64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: cp311-macosx_arm64 | ||
CIBW_BUILD_VERBOSITY: "1" | ||
CMAKE_CONFIGURE_ARGS: "-DWITH_F12=OFF" | ||
CMAKE_OSX_ARCHITECTURES: arm64 | ||
with: | ||
output-dir: mac-wheels | ||
- name: List available wheels | ||
run: | | ||
ls mac-wheels | ||
- name: Publish to PyPI | ||
run: | | ||
pip install twine | ||
export TWINE_USERNAME=__token__ | ||
export TWINE_PASSWORD="${{ secrets.PYPI_API_TOKEN }}" | ||
twine upload --verbose mac-wheels/* | ||
release-conda-linux: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters