Skip to content

Commit

Permalink
Configure python version for arm64 github actions runner (#1928)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang authored Jan 31, 2024
1 parent 8359876 commit 66f8044
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,12 @@ jobs:
with:
name: ${{ runner.os }}-arm64-bazel-bin
path: bazel-bin
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: "${{ matrix.python }}"
- name: Wheel ${{ matrix.python }} macOS
run: |
set -x -e
pyenv versions
pyenv install --list
# pyenv install ${{ matrix.python }}
pyenv local ${{ matrix.python }}
pyenv versions
pyenv version
pyenv which python
pyenv exec pip install -U wheel setuptools
pyenv which python
python --version
python setup.py --data bazel-bin -q bdist_wheel --plat-name macosx_12_0_arm64
rm -rf build
Expand Down

0 comments on commit 66f8044

Please sign in to comment.