20 lines
471 B
YAML
20 lines
471 B
YAML
name: Test compiling project
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: debian:latest
|
|
|
|
steps:
|
|
- name: Install necessary dependencies
|
|
run: apt update && apt install nodejs python3 python3-pip -y
|
|
- name: Install Platformio
|
|
run: pip install --break-system-packages --upgrade platformio
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
- name: Run PlatformIO
|
|
run: pio ci -c platformio.ini ./
|