20 lines
590 B
YAML
20 lines
590 B
YAML
name: Compile
|
|
run-name: ${{ github.actor }} is compiling
|
|
on: [push]
|
|
jobs:
|
|
Compile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup PlatformIO
|
|
run: |
|
|
apt update
|
|
apt -y install curl git python3 python3-pip
|
|
python -m pip install --upgrade pip
|
|
pip install --upgrade platformio pio upgrade --dev
|
|
- name: Setup node
|
|
run: |
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
|
apt-get install -y nodejs
|
|
- uses: actions/checkout@v3
|
|
- run: cd ${{ github.workspace }}
|
|
- run: pio run
|