ambient-lighting-clock/.forgejo/workflows/build.yml
s3lph 0e674fe5f8
Some checks failed
/ platformio (push) Failing after 31s
/ openscad (push) Successful in 1m11s
feat: initial commit
2023-11-20 01:26:48 +01:00

26 lines
619 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 platformio
cd esp
sed -re 's/put your ssid here/"ssid"' -i src/main.cpp
sed -re 's/put your psk here/"psk"' -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