Skip to content

Commit 4da3e0d

Browse files
authored
update build workflow (#83)
1 parent 507df04 commit 4da3e0d

File tree

3 files changed

+44
-44
lines changed

3 files changed

+44
-44
lines changed

.github/workflows/publish_pyscfad.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
os: [ubuntu-20.04]
15+
os: [ubuntu-latest]
1616
python-version: ["3.11"]
1717

1818
environment: release

.github/workflows/publish_pyscfadlib.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@ jobs:
3737
with:
3838
packages-dir: pyscfadlib/wheelhouse
3939

40-
build_wheel_macos_x86:
41-
name: Build macos_x86 wheels
42-
runs-on: macos-13
43-
44-
steps:
45-
- uses: actions/checkout@v4
46-
47-
- name: Build wheels
48-
uses: pypa/cibuildwheel@v2.21.3
49-
env:
50-
MACOSX_DEPLOYMENT_TARGET: "10.14"
51-
with:
52-
package-dir: pyscfadlib
53-
output-dir: pyscfadlib/wheelhouse
54-
config-file: "{package}/pyproject.toml"
55-
56-
- name: Upload wheels
57-
uses: actions/upload-artifact@v4
58-
with:
59-
name: cibw_wheels_macos_x86
60-
path: pyscfadlib/wheelhouse/*.whl
61-
overwrite: true
40+
# build_wheel_macos_x86:
41+
# name: Build macos_x86 wheels
42+
# runs-on: macos-13
43+
#
44+
# steps:
45+
# - uses: actions/checkout@v4
46+
#
47+
# - name: Build wheels
48+
# uses: pypa/cibuildwheel@v2.21.3
49+
# env:
50+
# MACOSX_DEPLOYMENT_TARGET: "10.14"
51+
# with:
52+
# package-dir: pyscfadlib
53+
# output-dir: pyscfadlib/wheelhouse
54+
# config-file: "{package}/pyproject.toml"
55+
#
56+
# - name: Upload wheels
57+
# uses: actions/upload-artifact@v4
58+
# with:
59+
# name: cibw_wheels_macos_x86
60+
# path: pyscfadlib/wheelhouse/*.whl
61+
# overwrite: true
6262

6363
build_wheel_macos_arm64:
6464
name: Build macos_arm64 wheels
@@ -83,26 +83,26 @@ jobs:
8383
path: pyscfadlib/wheelhouse/*.whl
8484
overwrite: true
8585

86-
publish_pypi_macos_x86:
87-
name: publish macos_x86 wheels to pypi
88-
needs: build_wheel_macos_x86
89-
runs-on: ubuntu-latest
90-
91-
environment: release
92-
permissions:
93-
id-token: write
94-
95-
steps:
96-
- name: Download wheels
97-
uses: actions/download-artifact@v4
98-
with:
99-
name: cibw_wheels_macos_x86
100-
path: dist
101-
102-
- run: ls -R dist
103-
104-
- name: Publish to PyPI
105-
uses: pypa/gh-action-pypi-publish@release/v1
86+
# publish_pypi_macos_x86:
87+
# name: publish macos_x86 wheels to pypi
88+
# needs: build_wheel_macos_x86
89+
# runs-on: ubuntu-latest
90+
#
91+
# environment: release
92+
# permissions:
93+
# id-token: write
94+
#
95+
# steps:
96+
# - name: Download wheels
97+
# uses: actions/download-artifact@v4
98+
# with:
99+
# name: cibw_wheels_macos_x86
100+
# path: dist
101+
#
102+
# - run: ls -R dist
103+
#
104+
# - name: Publish to PyPI
105+
# uses: pypa/gh-action-pypi-publish@release/v1
106106

107107
publish_pypi_macos_arm64:
108108
name: publish macos_arm64 wheels to pypi

pyscfadlib/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers = [
1919
"Development Status :: 3 - Alpha",
2020
"Topic :: Scientific/Engineering",
2121
"Intended Audience :: Science/Research",
22-
"License :: OSI Approved :: MIT License",
22+
"License :: OSI Approved :: Apache Software License",
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
2525
"Programming Language :: Python :: 3.13",

0 commit comments

Comments
 (0)