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

36 wiersze
952 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:
2021-03-09 05:16:41 +00:00
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
2020-02-27 01:20:19 +00:00
- name: Setup Python
2021-03-09 05:16:41 +00:00
uses: actions/setup-python@v2
2020-02-27 01:20:19 +00:00
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-03-09 05:16:41 +00:00
run: platformio run -e linux