ambient-lighting-clock/.forgejo/workflows/build.yml
s3lph 5d1704cdf8
All checks were successful
/ platformio (push) Successful in 2m20s
/ openscad (push) Successful in 1m54s
fix: ci
2024-06-05 01:22:03 +02:00

26 lines
647 B
YAML

---
on: push
jobs:
platformio:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: |
apt update; apt install --yes python3-pip
pip3 install --break-system-packages platformio
cd esp
sed -re 's/put your ssid here/"ssid"/g' -i src/main.cpp
sed -re 's/put your psk here/"psk"/g' -i src/main.cpp
pio run
openscad:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: |
apt update; apt install --yes openscad
cd case
openscad -o pipeline.stl clock.scad