This commit is contained in:
me-no-dev 2021-04-05 14:29:50 +03:00
parent 1ee032a19c
commit cc1deacd9a
4 changed files with 8 additions and 9 deletions

View file

@ -24,9 +24,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 python3 cmake ninja-build ccache
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && \
pip3 install setuptools pyserial click future wheel cryptography pyparsing pyelftools