Skip to content

Commit

Permalink
WIP: Got to put conda stuff first
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Aug 8, 2024
1 parent 1ddbeec commit f48185e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ jobs:
if: matrix.platform_id == 'win_amd64'
uses: ilammy/msvc-dev-cmd@v1

# conda to get libpng on Mac that is compatible with more OS versions
# brew install libpng has a mininum OS of 12
- name: Set up Conda
if: startsWith(matrix.os, 'macos-')
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python }}

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.19.2 setuptools toml

Expand All @@ -132,13 +141,6 @@ jobs:
run: |
echo "MACOSX_DEPLOYMENT_TARGET=${{ matrix.macos_target }}" >> $GITHUB_ENV
# conda to get libpng on Mac that is compatible with more OS versions
# brew install libpng has a mininum OS of 12
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python }}

- name: Build wheels
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
Expand Down

0 comments on commit f48185e

Please sign in to comment.