Skip to content

Commit 29d9dab

Browse files
committed
[CI] Add GitHub action workflow
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 2844de2 commit 29d9dab

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: STM32 FreeRTOS Continuous Integration
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- '*'
8+
- '**.md'
9+
- '**.txt'
10+
pull_request:
11+
paths-ignore:
12+
- '*'
13+
- '**.md'
14+
- '**.txt'
15+
jobs:
16+
lib_build:
17+
runs-on: ubuntu-latest
18+
name: Library compilation
19+
steps:
20+
# First of all, clone the repo using the checkout action.
21+
- name: Checkout
22+
uses: actions/checkout@master
23+
24+
- name: Compilation
25+
id: Compile
26+
uses: stm32duino/actions/compile-examples@master
27+
with:
28+
board-pattern: "NUCLEO_(F091RC|F103RB|F303RE|F429ZI|F767ZI|G071RB|G474RE|H743ZI2|L073RZ|L152RE|L476RG|WB55RG)"
29+
libraries: "SD"
30+
example-pattern: "fr[Blink|Fifo]"
31+
32+
# Use the output from the `Compile` step
33+
- name: Compilation Errors
34+
if: failure()
35+
run: |
36+
cat ${{ steps.Compile.outputs.compile-result }}
37+
exit 1

0 commit comments

Comments
 (0)