Skip to content

Commit 2e5ca76

Browse files
committed
try to install pip manually
1 parent 3fa59d5 commit 2e5ca76

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

Diff for: .github/workflows/cron.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v1
2727
- name: Install dependencies
28-
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
29-
- name: Install Python Wheel
30-
run: pip install wheel
28+
run: bash ./tools/prepare-ci.sh
3129
- name: Build
3230
env:
3331
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}

Diff for: .github/workflows/push.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v1
1616
- name: Install dependencies
17-
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
18-
- name: Install Python Wheel
19-
run: pip install wheel
17+
run: bash ./tools/prepare-ci.sh
2018
- name: Build Arduino Libs
2119
run: bash ./build.sh
2220
- name: Upload archive

Diff for: .github/workflows/repository_dispatch.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v1
1111
- name: Install dependencies
12-
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
13-
- name: Install Python Wheel
14-
run: pip install wheel
12+
run: bash ./tools/prepare-ci.sh
1513
- name: Handle Event
1614
env:
1715
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}

Diff for: tools/prepare-ci.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
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
4+
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py && \
5+
pip3 install pyserial click future wheel

0 commit comments

Comments
 (0)