File tree 2 files changed +58
-7
lines changed
2 files changed +58
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : STM32 Core build using arduino-cli
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ paths-ignore :
7
+ - .github/**
8
+ - ' !.github/workflows/Arduino-build.yml'
9
+ - ' *.json'
10
+ - ' **.md'
11
+ - keywords.txt
12
+ - CI/**
13
+ - ' !CI/build/arduino-cli.py'
14
+ - ' !CI/build/examples/**'
15
+ - cmake/**
16
+ - tools/**
17
+ pull_request :
18
+ paths-ignore :
19
+ - .github/**
20
+ - ' !.github/workflows/Arduino-build.yml'
21
+ - ' *.json'
22
+ - ' **.md'
23
+ - keywords.txt
24
+ - CI/**
25
+ - ' !CI/build/arduino-cli.py'
26
+ - ' !CI/build/examples/**'
27
+ - cmake/**
28
+ - tools/**
29
+ # Allows you to run this workflow manually from the Actions tab
30
+ workflow_dispatch :
31
+ jobs :
32
+ core_build :
33
+ runs-on : ubuntu-latest
34
+ name : Core compilation
35
+ steps :
36
+ # First of all, clone the repo using the checkout action.
37
+ - name : Checkout
38
+ uses : actions/checkout@main
39
+
40
+ - name : Compilation
41
+ id : Compile
42
+ uses : stm32duino/actions/compile-examples@main
43
+ with :
44
+ additional-url : ' https://github.com/stm32duino/BoardManagerFiles/raw/dev/package_stmicroelectronics_index.json'
45
+
46
+ # Use the output from the `Compile` step
47
+ - name : Compilation Errors
48
+ if : failure()
49
+ run : |
50
+ cat ${{ steps.Compile.outputs.compile-result }}
51
+ exit 1
Original file line number Diff line number Diff line change 1
- name : STM32 Core Continuous Integration
1
+ name : PlatformIO build
2
2
on :
3
3
push :
4
4
branches :
5
5
- main
6
6
paths-ignore :
7
7
- .github/**
8
- - ' !.github/workflows/Continuous-Integration.yml'
8
+ - ' !.github/actions/pio-build/**'
9
+ - ' !.github/workflows/PIO-build.yml'
9
10
- ' *.json'
10
11
- ' **.md'
11
12
- keywords.txt
12
13
- CI/**
13
- - ' !CI/build/arduino-cli.py'
14
14
- ' !CI/build/platformio-builder.py'
15
- - ' !CI/build/examples/** '
15
+ - cmake/**
16
16
- tools/**
17
17
- ' !tools/platformio-build.py'
18
18
pull_request :
19
19
paths-ignore :
20
20
- .github/**
21
- - ' !.github/workflows/Continuous-Integration.yml'
21
+ - ' !.github/actions/pio-build/**'
22
+ - ' !.github/workflows/PIO-build.yml'
22
23
- ' *.json'
23
24
- ' **.md'
24
25
- keywords.txt
25
26
- CI/**
26
- - ' !CI/build/arduino-cli.py'
27
27
- ' !CI/build/platformio-builder.py'
28
- - ' !CI/build/examples/** '
28
+ - cmake/**
29
29
- tools/**
30
30
- ' !tools/platformio-build.py'
31
31
# Allows you to run this workflow manually from the Actions tab
You can’t perform that action at this time.
0 commit comments