Skip to content

Commit 0d899c9

Browse files
committed
ci: fix dependency issue in macos
1 parent 16aa656 commit 0d899c9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,18 @@ jobs:
4545
uses: actions/setup-python@v4
4646
with:
4747
python-version: ${{ matrix.python-version }}
48-
48+
4949
- name: Install bzip2 on macOS
5050
if: matrix.os == 'macos'
5151
run: brew install bzip2
5252

53+
54+
- name: Set environment variables
55+
if: matrix.os == 'macos'
56+
run: |
57+
export LDFLAGS="-L/usr/local/opt/bzip2/lib"
58+
export CPPFLAGS="-I/usr/local/opt/bzip2/include"
59+
5360
- run: |
5461
pip install -r requirements/pyproject.txt && pip install -r requirements/testing.txt
5562

0 commit comments

Comments
 (0)