We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2a4674 commit 0ae2d8cCopy full SHA for 0ae2d8c
1 file changed
.github/workflows/build.yml
@@ -0,0 +1,36 @@
1
+name: Build and Test libcsp_examples
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Check out the code
11
+ uses: actions/checkout@v4
12
+ with:
13
+ submodules: true
14
15
+ - name: Install dependencies
16
+ run: |
17
+ sudo apt-get update
18
+ sudo apt-get install libzmq3-dev libsocketcan-dev socat iproute2
19
+ sudo apt-get install linux-modules-extra-$(uname -r)
20
+ sudo apt-get install ninja-build cmake
21
22
+ - name: Initialize git submodules
23
24
+ git submodule init
25
+ git submodule update
26
27
+ - name: Create build directory
28
29
+ mkdir build
30
+ cd build
31
+ cmake .. # Configuration du projet avec CMake
32
33
+ - name: Build the project
34
35
36
+ make
0 commit comments