File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PlatformIO Build Check for microros
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - microros # Trigger only on pushes to the microros branch
7
+ pull_request :
8
+ branches :
9
+ - microros # Trigger only on pull requests targeting the microros branch
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ # Checkout the repository
17
+ - name : Checkout code
18
+ uses : actions/checkout@v3
19
+
20
+ # Set up Python environment
21
+ - name : Set up Python
22
+ uses : actions/setup-python@v4
23
+ with :
24
+ python-version : 3.10 # Replace with a compatible version for PlatformIO
25
+
26
+ # Install PlatformIO
27
+ - name : Install PlatformIO
28
+ run : |
29
+ python -m pip install --upgrade pip
30
+ pip install platformio
31
+
32
+ # Build the project
33
+ - name : Build with PlatformIO
34
+ run : |
35
+ platformio run
You can’t perform that action at this time.
0 commit comments