Skip to content

Commit

Permalink
action test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienthevenoz committed Jan 18, 2024
1 parent da47339 commit d8956d7
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/systemtests_sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,39 @@ jobs:
build:
runs-on: self-hosted
steps:
- name: Create workspace
- name: Build firmware
id: step1
run: |
git clone --recursive https://github.com/bitcraze/crazyflie-firmware.git
make cf2_defconfig
make bindings_python
cd build
python3 setup.py install --user
echo "$PWD"
- name: Create workspace
id: step2
run: |
cd ros2_ws/src || mkdir -p ros2_ws/src
- name: Checkout motion capture package
id: step2
id: step3
run: |
cd ros2_ws/src
ls motion_capture_tracking || git clone --branch ros2 --recursive https://github.com/IMRCLab/motion_capture_tracking.git
- name: Checkout Crazyswarm2
id: step3
id: step4
uses: actions/checkout@v4
with:
path: ros2_ws/src/crazyswarm2
submodules: 'recursive'
- name: Build workspace
id: step4
id: step5
run: |
source /opt/ros/humble/setup.bash
cd ros2_ws
colcon build --symlink-install
- name: Flight test
id: step5
id: step6
run: |
cd ros2_ws
source /opt/ros/humble/setup.bash
Expand All @@ -42,7 +51,7 @@ jobs:
python3 src/crazyswarm2/systemtests/test_flights.py --sim
- name: Upload files
id: step6
id: step7
if: '!cancelled()'
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit d8956d7

Please sign in to comment.