mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-07-05 17:32:15 +02:00
Add a basic CI builder
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: Build heltec board
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cache/pip
|
||||
~/.platformio/.cache
|
||||
key: ${{ runner.os }}-pio
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install PlatformIO Core
|
||||
run: pip install --upgrade platformio
|
||||
|
||||
- name: Install PlatformIO Expressif board package
|
||||
run: pio pkg update -g -p espressif32
|
||||
|
||||
- name: Build PlatformIO Project
|
||||
run: pio run --environment heltec_wifi_lora_32_V3
|
||||
Reference in New Issue
Block a user