Files
waterlevel-software/.gitea/workflows/on_push.yaml
Tobias Maier 46b9507341
Some checks failed
Test compiling project / test (push) Failing after 37s
er
2025-02-14 21:32:23 +01:00

22 lines
655 B
YAML

name: Test compiling project
on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
image: debian:latest
steps:
- name: Install necessary dependencies
run: apt update && apt install nodejs python3 python3-pip git -y
- name: Install Platformio
run: pip install --break-system-packages --upgrade platformio
- name: Checkout Code
uses: actions/checkout@v2
- name: Run PlatformIO build for INA233
run: pio ci -c platformio.ini ./ -e ESP32_INA233 --lib ./lib/INA233/ -lib ./lib/fetchOTA/
- name: Run PlatformIO
run: pio ci -c platformio.ini ./ -e ESP32_INA226 --lib ./lib/fetchOTA/