Skip to content

Commit

Permalink
CI: install pysocks when building binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpt committed Oct 12, 2022
1 parent 2f3331c commit 0b29501
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
# Enable for Python3.8 only because it often fails at codesign (subprocess timeout)
if: matrix.platform == 'macos-latest' && startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.8
run: |
# see https://github.com/mapillary/mapillary_tools/issues/566
# TODO: move it to extras in setup.py
python3 -m pip install pysocks
./script/build_osx
# Could run full integration tests with the binary (it might be slow)
pytest tests/integration
Expand All @@ -76,6 +79,9 @@ jobs:
- name: Build and test with Pyinstaller on Ubuntu (Python 3.8 only)
if: matrix.platform == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.8
run: |
# see https://github.com/mapillary/mapillary_tools/issues/566
# TODO: move it to extras in setup.py
python3 -m pip install pysocks
./script/build_linux
# Could run full integration tests with the binary (it might be slow)
pytest tests/integration
Expand All @@ -84,6 +90,9 @@ jobs:
- name: Build and test with Pyinstaller on Windows (Python 3.8 only)
if: matrix.platform == 'windows-latest' && startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.8
run: |
# see https://github.com/mapillary/mapillary_tools/issues/566
# TODO: move it to extras in setup.py
python3 -m pip install pysocks
./script/build_bootloader.ps1
./script/build_win.ps1
# Could run full integration tests with the binary (it might be slow)
Expand Down

0 comments on commit 0b29501

Please sign in to comment.