meshtastic-firmware/.github/workflows/main.yml

34 wiersze
984 B
YAML
Czysty Zwykły widok Historia

2020-03-01 03:05:48 +00:00
name: Continuous Integration
2020-03-16 00:42:48 +00:00
on:
- push
- pull_request
2020-02-27 01:20:19 +00:00
jobs:
2021-02-23 09:07:38 +00:00
setup:
2020-02-27 01:20:19 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
2020-07-10 03:31:16 +00:00
- name: Checkout submodules
uses: textbook/git-checkout-submodule-action@master
2020-02-27 01:20:19 +00:00
- name: Setup Python
uses: actions/setup-python@master
with:
2020-02-27 01:37:08 +00:00
python-version: 3.x
2020-02-27 01:20:19 +00:00
- name: Install Platform IO
run: |
python -m pip install --upgrade pip
pip install -U platformio
2020-07-10 04:37:45 +00:00
- name: Install extra python tools
2020-07-10 18:44:46 +00:00
run: |
pip install -U adafruit-nrfutil
- name: Install libs needed for linux build
run: |
sudo apt install -y libpsocksxx-dev
- name: Build for tbeam
run: platformio run -e tbeam
- name: Build for heltec
run: platformio run -e heltec
- name: Build for lora-relay-v1
run: platformio run -e lora-relay-v1
- name: Build for linux
2021-02-23 09:07:38 +00:00
run: platformio run -e linux