45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
|
name: Hybrid Run
|
||
|
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
default:
|
||
|
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
os: [ubuntu-latest]
|
||
|
python-version: [2.7]
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up Python ${{ matrix.python-version }}
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: ${{ matrix.python-version }}
|
||
|
- name: Install apt dependencies
|
||
|
run: |
|
||
|
install="sudo apt-get install
|
||
|
-yq --no-install-suggests --no-install-recommends"
|
||
|
$install build-essential libcap-dev libssl-dev python-all-dev tor
|
||
|
$install python3-all python3-zmq
|
||
|
- name: Install MiNode
|
||
|
run: |
|
||
|
git clone https://github.com/g1itch/MiNode.git
|
||
|
pushd MiNode
|
||
|
git checkout queue
|
||
|
python3 setup.py install --user
|
||
|
popd
|
||
|
- name: Install python dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install wheel
|
||
|
pip install -r requirements.txt
|
||
|
python setup.py install
|
||
|
- name: Test
|
||
|
env:
|
||
|
BITMESSAGE_HYBRID: minode
|
||
|
run: |
|
||
|
python src/bitmessagemain.py -t
|