try to install pip manually

This commit is contained in:
me-no-dev 2021-03-04 14:49:33 +02:00
parent 3fa59d5715
commit 2e5ca76dc0
4 changed files with 8 additions and 9 deletions

View file

@ -25,9 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
- name: Install Python Wheel
run: pip install wheel
run: bash ./tools/prepare-ci.sh
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}

View file

@ -14,9 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
- name: Install Python Wheel
run: pip install wheel
run: bash ./tools/prepare-ci.sh
- name: Build Arduino Libs
run: bash ./build.sh
- name: Upload archive

View file

@ -9,9 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt-get install git wget curl libssl-dev libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
- name: Install Python Wheel
run: pip install wheel
run: bash ./tools/prepare-ci.sh
- name: Handle Event
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}

5
tools/prepare-ci.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
sudo apt-get install -y git wget curl libssl-dev libncurses-dev flex bison gperf python python-setuptools python-cryptography python-pyparsing python-pyelftools cmake ninja-build ccache
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py && \
pip3 install pyserial click future wheel