Fix CI
This commit is contained in:
parent
1ee032a19c
commit
cc1deacd9a
4 changed files with 8 additions and 9 deletions
4
.github/workflows/cron.yml
vendored
4
.github/workflows/cron.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/repository_dispatch.yml
vendored
4
.github/workflows/repository_dispatch.yml
vendored
|
|
@ -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
5
tools/prepare-ci.sh
Executable 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
|
||||
Loading…
Reference in a new issue