Skip to content

Commit

Permalink
explicitly set the cairo lib paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed Apr 25, 2024
1 parent 513e60f commit d3c0fb5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ jobs:
brew install aspell
# Add additional packages on 3.11: https://github.com/ethereum/execution-spec-tests/issues/274
if [ ${{ matrix.python }} == '3.11' ]; then brew install autoconf automake libtool; fi
- name: Verify Cairo Installation
- name: Set Library Paths
if: runner.os == 'macOS'
run: |
brew list --versions cairo
find /usr/local -name libcairo.so.2
find /usr/local -name libcairo.2.dylib
echo "export DYLD_LIBRARY_PATH=$(brew --prefix cairo)/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
echo "export LD_LIBRARY_PATH=$(brew --prefix cairo)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Install Tox and any other packages
run: pip install tox
- name: Run Tox (CPython)
Expand Down

0 comments on commit d3c0fb5

Please sign in to comment.