Skip to content

Commit 0cf0242

Browse files
authored
Add 3.10 and 3.11 (#1846)
1 parent 0784d78 commit 0cf0242

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
runs-on: [self-hosted, macOS, ARM64]
136136
strategy:
137137
matrix:
138-
python: ['3.11']
138+
python: ['3.10', '3.11']
139139
steps:
140140
- uses: actions/checkout@v2
141141
- uses: actions/download-artifact@v1
@@ -145,20 +145,19 @@ jobs:
145145
- name: Wheel ${{ matrix.python }} macOS
146146
run: |
147147
set -x -e
148-
which python
149-
python -m pip install -U wheel setuptools
148+
pyenv versions
149+
pyenv install --list
150+
pyenv install ${{ matrix.python }}
151+
pyenv shell ${{ matrix.python }}
152+
pyenv versions
153+
pyenv version
154+
pyenv which python
155+
pyenv exec pip install -U wheel setuptools
156+
pyenv which python
150157
python --version
151158
python setup.py --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64
152159
rm -rf build
153-
python setup.py --project tensorflow-io-gcs-filesystem --data bazel-bin -q bdist_wheel --plat-name macosx_10_14_arm64
154-
- name: Auditwheel ${{ matrix.python }} macOS
155-
run: |
156-
set -x -e
157-
pyenv versions
158-
pyenv which python
159-
pyenv exec pip install twine delocate==0.10.3
160-
pyenv which delocate-wheel
161-
pyenv exec delocate-wheel --version
160+
python setup.py --project tensorflow-io-gcs-filesystem --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64
162161
ls dist/*
163162
mkdir -p wheelhouse
164163
for f in dist/*.whl; do

0 commit comments

Comments
 (0)