Skip to content

Commit

Permalink
Update wheels.yml
Browse files Browse the repository at this point in the history
Setup python
  • Loading branch information
makslevental committed Jul 14, 2023
1 parent 3cb1e28 commit 4866c08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.arch }} # Make cache specific to OS
max-size: "5G"
append-timestamp: false
# append-timestamp: false
# variant: sccache

- name: Configure ccache dir on host
Expand Down Expand Up @@ -184,6 +184,10 @@ jobs:
MATRIX_OS: ${{ matrix.os }}
PARALLEL_LEVEL: ${{ matrix.os == 'windows-2022' && '2' || '2' }}

- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Build native_tools wheel
shell: bash
id: build_native_tools_wheel
Expand All @@ -200,6 +204,7 @@ jobs:
PLAT="win"
fi
pip install wheel
PLAT=${PLAT}_$(echo $ARCH | tr '[:upper:]' '[:lower:]')
pushd native_tools
python setup.py bdist_wheel --dist-dir ../wheelhouse --plat $PLAT
Expand Down

0 comments on commit 4866c08

Please sign in to comment.