File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : [push, pull_request]
3
+ jobs :
4
+ simple-build :
5
+ runs-on : ubuntu-22.04
6
+ strategy :
7
+ fail-fast : false
8
+ matrix :
9
+ buildsystem :
10
+ - meson
11
+ - cmake
12
+
13
+ steps :
14
+ - name : Install build system
15
+ run : |
16
+ sudo apt-get install ninja-build ${{ matrix.buildsystem }}
17
+
18
+ - name : Checkout
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Checkout FreeRTOS-kernel
22
+ uses : actions/checkout@v4
23
+ with :
24
+ repository : FreeRTOS/FreeRTOS-Kernel
25
+ path : freertos
26
+
27
+ - name : Checkout libcsp
28
+ uses : actions/checkout@v4
29
+ with :
30
+ repository : libcsp/libcsp
31
+ path : subprojects/libcsp
32
+
33
+ - name : Configure with Meson
34
+ if : ${{ matrix.buildsystem == 'meson' }}
35
+ run : |
36
+ meson setup builddir
37
+
38
+ - name : Configure with CMake
39
+ if : ${{ matrix.buildsystem == 'cmake' }}
40
+ run : |
41
+ cmake -B builddir -GNinja
42
+
43
+ - name : Build
44
+ run : |
45
+ ninja -C builddir
You can’t perform that action at this time.
0 commit comments