2023-05-30 18:46:26 +03:00
|
|
|
name: Compile
|
|
|
|
run-name: ${{ github.actor }} is compiling
|
2023-05-30 19:09:57 +03:00
|
|
|
on: [push]
|
2023-05-30 18:46:26 +03:00
|
|
|
jobs:
|
|
|
|
Compile:
|
2023-05-30 20:27:09 +03:00
|
|
|
runs-on: ubuntu-latest
|
2023-05-30 18:46:26 +03:00
|
|
|
steps:
|
2023-05-31 22:47:18 +03:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Compile
|
2023-05-30 19:34:50 +03:00
|
|
|
run: |
|
2023-05-31 22:47:18 +03:00
|
|
|
cd ${{ github.workspace }}
|
2023-06-01 03:12:31 +03:00
|
|
|
echo -en '#define WIFI_SSID "<ssid>"\n#define WIFI_PASS "<pass>"\n' >src/secrets.h
|
2023-05-31 22:47:18 +03:00
|
|
|
/root/.platformio/penv/bin/pio run
|