-
-
Notifications
You must be signed in to change notification settings - Fork 993
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten step names so they're more visible
- Loading branch information
1 parent
865b7a9
commit 1b2aece
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ on: [push, pull_request] | |
|
||
jobs: | ||
build: | ||
name: build and test python bindings using setuptools | ||
name: build | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
|
@@ -15,7 +15,7 @@ jobs: | |
with: | ||
submodules: recursive | ||
|
||
- name: install dependencies (mac) | ||
- name: dependencies (macos) | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew install boost-build boost boost-python3 [email protected] | ||
|
@@ -25,17 +25,17 @@ jobs: | |
run: | | ||
sudo apt update | ||
- name: install dependencies (linux) | ||
- name: dependencies (linux) | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt install libboost-tools-dev libboost-python-dev libboost-dev libboost-system-dev python3 python3-setuptools | ||
- name: build and install python module | ||
- name: build/install | ||
run: | | ||
cd bindings/python | ||
DISTUTILS_DEBUG=1 python3 setup.py build_ext -j3 --libtorrent-link=static install --user | ||
- name: run python tests | ||
- name: tests | ||
run: | | ||
cd bindings/python | ||
python3 test.py |