Skip to content

Commit

Permalink
COMP: Debugging output in runners (#564)
Browse files Browse the repository at this point in the history
* COMP: Don't update libpng

It suddenly has a dependence on python 3.12, causing brew to fail

Can't get brew install to not update the package, so test for existing install explicitly
  • Loading branch information
cookpa committed Mar 12, 2024
1 parent c12b171 commit f18c950
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ jobs:
CIBW_PRERELEASE_PYTHONS: True

CIBW_BEFORE_ALL_LINUX: |
echo "Installing system dependencies with yum"
yum install -y gcc-c++ libpng-devel libpng
echo "pip installing cmake and ninja"
python -m pip install cmake ninja setuptools
CIBW_BEFORE_ALL_WINDOWS: |
Expand All @@ -163,7 +165,9 @@ jobs:
CIBW_BEFORE_ALL_MACOS: |
python -m pip install cmake ninja setuptools
brew update
brew install libpng
if ! brew list libpng &>/dev/null; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install libpng
fi
CIBW_ENVIRONMENT_MACOS: |
CMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} CMAKE_PREFIX_PATH=/usr/local
Expand Down

0 comments on commit f18c950

Please sign in to comment.