Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Add testing of simulation run
Oleg Kalachev3450932dcee4
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 7d5b3c0..8024419 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -84,6 +84,15 @@ jobs:run: sudo apt-get install -y libsdl2-dev- name: Build simulatorrun: make build_simulator+ - name: Run simulator+ env:+ GAZEBO_MODEL_PATH: ${{ github.workspace }}/gazebo/models+ GAZEBO_PLUGIN_PATH: ${{ github.workspace }}/gazebo/build+ run: |+ OUT=$(timeout -k 10s 120s gzserver --verbose gazebo/flix.world 2>&1 | tee /dev/stderr)+ if echo "$OUT" | grep -Pq "\[Err\](?! \[RenderEngine)"; then+ exit 1+ fi- uses: actions/upload-artifact@v7with:name: gazebo-plugin-binary