Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjojo committed Oct 30, 2024
1 parent 903a4c2 commit f9ad9ae
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/publish_pyscfadlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_LINUX: aarch64
with:
package-dir: pyscfadlib
output-dir: pyscfadlib/wheelhouse
Expand All @@ -44,51 +44,51 @@ jobs:
# with:
# packages-dir: pyscfadlib/wheelhouse

build_wheel_macos_x86:
name: Build macos_x86 wheels
runs-on: macos-13

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
env:
MACOSX_DEPLOYMENT_TARGET: "10.14"
with:
package-dir: pyscfadlib
output-dir: pyscfadlib/wheelhouse
config-file: "{package}/pyproject.toml"

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: cibw_wheels_macos_x86
path: pyscfadlib/wheelhouse/*.whl
overwrite: true

build_wheel_macos_arm64:
name: Build macos_arm64 wheels
runs-on: macos-14

steps:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/[email protected]
env:
CMAKE_OSX_ARCHITECTURES: arm64;x86_64
with:
package-dir: pyscfadlib
output-dir: pyscfadlib/wheelhouse
config-file: "{package}/pyproject.toml"

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: cibw_wheels_macos_arm64
path: pyscfadlib/wheelhouse/*.whl
overwrite: true
# build_wheel_macos_x86:
# name: Build macos_x86 wheels
# runs-on: macos-13
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Build wheels
# uses: pypa/[email protected]
# env:
# MACOSX_DEPLOYMENT_TARGET: "10.14"
# with:
# package-dir: pyscfadlib
# output-dir: pyscfadlib/wheelhouse
# config-file: "{package}/pyproject.toml"
#
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: cibw_wheels_macos_x86
# path: pyscfadlib/wheelhouse/*.whl
# overwrite: true
#
# build_wheel_macos_arm64:
# name: Build macos_arm64 wheels
# runs-on: macos-14
#
# steps:
# - uses: actions/checkout@v4
#
# - name: Build wheels
# uses: pypa/[email protected]
# env:
# CMAKE_OSX_ARCHITECTURES: arm64;x86_64
# with:
# package-dir: pyscfadlib
# output-dir: pyscfadlib/wheelhouse
# config-file: "{package}/pyproject.toml"
#
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: cibw_wheels_macos_arm64
# path: pyscfadlib/wheelhouse/*.whl
# overwrite: true

# publish_pypi_macos_x86:
# name: publish macos_x86 wheels to pypi
Expand Down
2 changes: 2 additions & 0 deletions pyscfadlib/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ skip = ["pp*", "*musllinux*"]
before-all = [
"ulimit -n 1024",
# "ln -s libquadmath.so.0 /usr/lib64/libquadmath.so",
"yum install -y epel-release",
"yum-config-manager --enable epel",
"yum install -y openblas-devel",
]
repair-wheel-command = "auditwheel -v repair -w {dest_dir} {wheel}"
Expand Down

0 comments on commit f9ad9ae

Please sign in to comment.