Skip to content

Commit 3827c83

Browse files
committed
ci: split arduino and pio builds
Signed-off-by: Frederic Pillon <[email protected]>
1 parent b2f1857 commit 3827c83

File tree

2 files changed

+49
-18
lines changed

2 files changed

+49
-18
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
name: STM32 Core Continuous Integration
1+
name: STM32 Core build using arduino-cli
22
on:
33
push:
44
branches:
55
- main
66
paths-ignore:
77
- .github/**
8-
- '!.github/workflows/Continuous-Integration.yml'
8+
- '!.github/workflows/Arduino-build.yml'
99
- '*.json'
1010
- '**.md'
1111
- keywords.txt
1212
- CI/**
1313
- '!CI/build/arduino-cli.py'
14-
- '!CI/build/platformio-builder.py'
1514
- '!CI/build/examples/**'
15+
- cmake/**
1616
- tools/**
17-
- '!tools/platformio-build.py'
1817
pull_request:
1918
paths-ignore:
2019
- .github/**
21-
- '!.github/workflows/Continuous-Integration.yml'
20+
- '!.github/workflows/Arduino-build.yml'
2221
- '*.json'
2322
- '**.md'
2423
- keywords.txt
2524
- CI/**
2625
- '!CI/build/arduino-cli.py'
27-
- '!CI/build/platformio-builder.py'
2826
- '!CI/build/examples/**'
27+
- cmake/**
2928
- tools/**
30-
- '!tools/platformio-build.py'
3129
# Allows you to run this workflow manually from the Actions tab
3230
workflow_dispatch:
3331
jobs:
@@ -51,14 +49,3 @@ jobs:
5149
run: |
5250
cat ${{ steps.Compile.outputs.compile-result }}
5351
exit 1
54-
pio_build:
55-
runs-on: ubuntu-latest
56-
name: PlatformIO test
57-
steps:
58-
# First of all, clone the repo using the checkout action.
59-
- name: Checkout
60-
uses: actions/checkout@main
61-
62-
- name: PlatformIO
63-
id: Compile
64-
uses: ./.github/actions/pio-build

Diff for: .github/workflows/PIO-build.yml

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

0 commit comments

Comments
 (0)