A workflow for the hybrid run
This commit is contained in:
parent
26d2ce9060
commit
dff04be7bc
44
.github/workflows/hybrid.yml
vendored
Normal file
44
.github/workflows/hybrid.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
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
|
Reference in New Issue
Block a user