File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -10,30 +10,39 @@ jobs:
10
10
build :
11
11
runs-on : self-hosted
12
12
steps :
13
- - name : Create workspace
13
+ - name : Build firmware
14
14
id : step1
15
+ run : |
16
+ git clone --recursive https://github.com/bitcraze/crazyflie-firmware.git
17
+ make cf2_defconfig
18
+ make bindings_python
19
+ cd build
20
+ python3 setup.py install --user
21
+ echo "$PWD"
22
+ - name : Create workspace
23
+ id : step2
15
24
run : |
16
25
cd ros2_ws/src || mkdir -p ros2_ws/src
17
26
- name : Checkout motion capture package
18
- id : step2
27
+ id : step3
19
28
run : |
20
29
cd ros2_ws/src
21
30
ls motion_capture_tracking || git clone --branch ros2 --recursive https://github.com/IMRCLab/motion_capture_tracking.git
22
31
- name : Checkout Crazyswarm2
23
- id : step3
32
+ id : step4
24
33
uses : actions/checkout@v4
25
34
with :
26
35
path : ros2_ws/src/crazyswarm2
27
36
submodules : ' recursive'
28
37
- name : Build workspace
29
- id : step4
38
+ id : step5
30
39
run : |
31
40
source /opt/ros/humble/setup.bash
32
41
cd ros2_ws
33
42
colcon build --symlink-install
34
43
35
44
- name : Flight test
36
- id : step5
45
+ id : step6
37
46
run : |
38
47
cd ros2_ws
39
48
source /opt/ros/humble/setup.bash
42
51
python3 src/crazyswarm2/systemtests/test_flights.py --sim
43
52
44
53
- name : Upload files
45
- id : step6
54
+ id : step7
46
55
if : ' !cancelled()'
47
56
uses : actions/upload-artifact@v3
48
57
with :
You can’t perform that action at this time.
0 commit comments