Skip to content

Commit d8956d7

Browse files
action test
1 parent da47339 commit d8956d7

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/systemtests_sim.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,39 @@ jobs:
1010
build:
1111
runs-on: self-hosted
1212
steps:
13-
- name: Create workspace
13+
- name: Build firmware
1414
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
1524
run: |
1625
cd ros2_ws/src || mkdir -p ros2_ws/src
1726
- name: Checkout motion capture package
18-
id: step2
27+
id: step3
1928
run: |
2029
cd ros2_ws/src
2130
ls motion_capture_tracking || git clone --branch ros2 --recursive https://github.com/IMRCLab/motion_capture_tracking.git
2231
- name: Checkout Crazyswarm2
23-
id: step3
32+
id: step4
2433
uses: actions/checkout@v4
2534
with:
2635
path: ros2_ws/src/crazyswarm2
2736
submodules: 'recursive'
2837
- name: Build workspace
29-
id: step4
38+
id: step5
3039
run: |
3140
source /opt/ros/humble/setup.bash
3241
cd ros2_ws
3342
colcon build --symlink-install
3443
3544
- name: Flight test
36-
id: step5
45+
id: step6
3746
run: |
3847
cd ros2_ws
3948
source /opt/ros/humble/setup.bash
@@ -42,7 +51,7 @@ jobs:
4251
python3 src/crazyswarm2/systemtests/test_flights.py --sim
4352
4453
- name: Upload files
45-
id: step6
54+
id: step7
4655
if: '!cancelled()'
4756
uses: actions/upload-artifact@v3
4857
with:

0 commit comments

Comments
 (0)