Skip to content

Commit

Permalink
test wheel [pypi][testpypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 18, 2024
1 parent 4dc0830 commit 461abdc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-12, macos-13, macos-13-xlarge, macos-14, ubuntu-latest, windows-latest ]
os: [ macos-12 ]

steps:
- uses: awvwgk/setup-fortran@main
Expand Down Expand Up @@ -47,7 +47,8 @@ jobs:
env:
# all cp3xx, since old macs seem to only use osx 12+ builds if this is set not "none"
# see consistency with get_tag() in setup.py
MACOSX_DEPLOYMENT_TARGET: 12
CIBW_BUILD: cp311-*
MACOSX_DEPLOYMENT_TARGET: 10.15
CIBW_SKIP: pp*
CIBW_BUILD_VERBOSITY: 1
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ branches:
- CAMB_sources
- rayleigh

if: (type != pull_request) OR (type = pull_request AND TRAVIS_PULL_REQUEST_SLUG != 'cmbant/camb')
if: (type = pull_request) AND (type != pull_request) OR (type = pull_request AND TRAVIS_PULL_REQUEST_SLUG != 'cmbant/camb')

jobs:
include:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def finalize_options(self):

def get_tag(self):
_, _, plat = super().get_tag()
if "osx_12" in plat:
return _, _, plat
# if "osx_12" in plat:
# return _, _, plat
return "py3", "none", plat


Expand Down

0 comments on commit 461abdc

Please sign in to comment.