ambient-lighting-clock/.forgejo/workflows/build.yml

27 lines
647 B
YAML
Raw Permalink Normal View History

2023-11-20 01:26:48 +01:00
---
on: push
jobs:
platformio:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: |
apt update; apt install --yes python3-pip
2024-06-05 01:22:03 +02:00
pip3 install --break-system-packages platformio
2023-11-20 01:26:48 +01:00
cd esp
2023-11-20 01:28:10 +01:00
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
2023-11-20 01:26:48 +01:00
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