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-30 19:32:11 +03:00
|
|
|
- name: Setup PlatformIO
|
2023-05-30 19:34:50 +03:00
|
|
|
run: |
|
2023-05-30 19:35:59 +03:00
|
|
|
apt update
|
2023-05-30 19:37:28 +03:00
|
|
|
apt -y install platformio
|
2023-05-30 21:16:28 +03:00
|
|
|
- name: Setup node
|
|
|
|
run: |
|
2023-05-30 21:18:29 +03:00
|
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
2023-05-30 21:16:28 +03:00
|
|
|
apt-get install -y nodejs
|
2023-05-30 21:13:47 +03:00
|
|
|
- uses: actions/checkout@v3
|
2023-05-30 21:10:51 +03:00
|
|
|
- run: cd ${{ github.workspace }}
|
|
|
|
- run: pio run
|