Skip to content

Commit f17beef

Browse files
committed
test building of universal2 wheels
1 parent 42d9a59 commit f17beef

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/build-wheels.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,20 @@ jobs:
2424

2525
fail-fast: false
2626
matrix:
27-
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
27+
#python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
28+
python-version: [ "3.8", "3.9", "3.10" ]
2829
os: [ubuntu-latest, macos-latest]
2930
platform: [x64, x32]
3031
exclude:
3132
- os: macos-latest
3233
platform: x32
3334
include:
34-
- python-version: "3.6"
35-
os: ubuntu-latest
36-
platform: aarch64
37-
- python-version: "3.7"
38-
os: ubuntu-latest
39-
platform: aarch64
35+
# - python-version: "3.6"
36+
# os: ubuntu-latest
37+
# platform: aarch64
38+
# - python-version: "3.7"
39+
# os: ubuntu-latest
40+
# platform: aarch64
4041
- python-version: "3.8"
4142
os: ubuntu-latest
4243
platform: aarch64
@@ -46,14 +47,15 @@ jobs:
4647
- python-version: "3.10"
4748
os: ubuntu-latest
4849
platform: aarch64
50+
# cross-compiled wheels for osx-arm64 don't work because of C libs, turn off for now
4951
- python-version: "3.8"
50-
os: macos-10.15
52+
os: macos-latest
5153
platform: x86_64
5254
- python-version: "3.9"
53-
os: macos-10.15
55+
os: macos-latest
5456
platform: x86_64
5557
- python-version: "3.10"
56-
os: macos-10.15
58+
os: macos-latest
5759
platform: x86_64
5860
env:
5961
REPO_DIR: netcdf4-python
@@ -89,8 +91,8 @@ jobs:
8991
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "TRAVIS_OS_NAME=osx" >> $GITHUB_ENV; else echo "TRAVIS_OS_NAME=${{ matrix.os }}" >> $GITHUB_ENV; fi
9092
if [ "schedule" == "${{ github.event_name }}" ]; then echo "TRAVIS_EVENT_TYPE=cron" >> $GITHUB_ENV; else echo "TRAVIS_EVENT_TYPE=${{ github.event_name }}" >> $GITHUB_ENV; fi
9193
if [ "schedule" == "${{ github.event_name }}" ]; then echo "BUILD_COMMIT=master" >> $GITHUB_ENV; else echo "BUILD_COMMIT=$BUILD_COMMIT" >> $GITHUB_ENV; fi
92-
# make universal2 wheels on macos 10.15 by cross-compiling
93-
if [ "macos-10.15" == "${{ matrix.os }}" ]; then echo "PLAT=universal2" >> $GITHUB_ENV; fi
94+
# make universal2 wheels on macos by cross-compiling
95+
if [ "macos-latest" == "${{ matrix.os }}" ]; then echo "PLAT=universal2" >> $GITHUB_ENV; fi
9496
9597
- name: Setup Special Environment variables for Linux AArch64
9698
if: ${{ matrix.platform == 'aarch64' }}

0 commit comments

Comments
 (0)