Skip to content

Commit a1cb75a

Browse files
committed
ci: install bip32 from source and tame MacOS
Install python-bip32 from source to avoid #41 from happening again. Unfortunately building coincurve on MacOS keeps failing for esoteric reasons and i don't have infinite time, so on MacOS first install coincurve wheels before installing python-bip32.
1 parent 27a4036 commit a1cb75a

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,20 @@ jobs:
2424
uses: actions/setup-python@v2
2525
with:
2626
python-version: ${{ matrix.python-version }}
27-
- name: Installation (deps and package)
27+
- name: Install pip and setuptools
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install pytest
31-
pip install -r requirements.txt -r tests/requirements.txt
32-
python setup.py install
30+
pip install setuptools
31+
- name: On MacOS, install coincurve's dependencies and install it from wheels # FIXME: installing from source fails for some reason.
32+
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
33+
run: |
34+
brew install autoconf automake libffi libtool pkg-config python
35+
pip install -r requirements.txt
36+
- name: Install python-bip32 from source
37+
run: python setup.py install
3338
- name: Test with pytest
3439
run: |
40+
pip install -r tests/requirements.txt
3541
pytest -vvv
3642
3743
linter:

0 commit comments

Comments
 (0)