WatchyWatchFace/.forgejo/workflows/compile.yml

22 lines
595 B
YAML
Raw Normal View History

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:
runs-on: ubuntu-latest
2023-05-30 18:46:26 +03:00
steps:
- 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 21:33:34 +03:00
apt -y install curl git python3 python3-pip
python3 -m pip install --upgrade pip
2023-05-30 21:41:26 +03:00
pip3 install -U platformio
pio upgrade --dev
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
- uses: actions/checkout@v3
2023-05-30 21:10:51 +03:00
- run: cd ${{ github.workspace }}
- run: pio run