-
Notifications
You must be signed in to change notification settings - Fork 979
44 lines (43 loc) · 1.05 KB
/
PIO-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: PlatformIO build
on:
push:
branches:
- main
paths-ignore:
- .github/**
- '!.github/actions/pio-build/**'
- '!.github/workflows/PIO-build.yml'
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/platformio-builder.py'
- cmake/**
- tools/**
- '!tools/platformio/platformio-build.py'
pull_request:
paths-ignore:
- .github/**
- '!.github/actions/pio-build/**'
- '!.github/workflows/PIO-build.yml'
- '*.json'
- '**.md'
- keywords.txt
- CI/**
- '!CI/build/platformio-builder.py'
- cmake/**
- tools/**
- '!tools/platformio/platformio-build.py'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
pio_build:
runs-on: ubuntu-latest
name: PlatformIO test
steps:
# First of all, clone the repo using the checkout action.
- name: Checkout
uses: actions/checkout@main
- name: PlatformIO
id: Compile
uses: ./.github/actions/pio-build