From 2b3886070fe465071c7042c74675a5c1b7aa3fff Mon Sep 17 00:00:00 2001 From: Loki077 Date: Tue, 10 Dec 2024 02:31:07 +1100 Subject: [PATCH] Enhance CI workflow for aircraft configuration processing by adding toolchain support, updating container image, and installing necessary bash tools --- .github/workflows/carbonix_build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/carbonix_build.yml b/.github/workflows/carbonix_build.yml index 1bc48da2d1..16e3ece1b7 100644 --- a/.github/workflows/carbonix_build.yml +++ b/.github/workflows/carbonix_build.yml @@ -260,12 +260,26 @@ jobs: process-aircraft-config: runs-on: ubuntu-22.04 needs: collect-aircraft-config-files + container: ardupilot/ardupilot-dev-${{ matrix.toolchain }}:v0.1.3 strategy: + fail-fast: false matrix: xml_file: ${{ fromJson(needs.collect-aircraft-config-files.outputs.aircraft-config-files) }} + toolchain: [ chibios ] + gcc: [10] + exclude: + - gcc: 10 + toolchain: chibios-clang steps: - name: Checkout code uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Install bash tools + run: | + sudo apt-get update + sudo apt-get -y install xxd - name: Download all build artifacts uses: actions/download-artifact@v3 @@ -285,6 +299,7 @@ jobs: - name: Run aircraft_config.py run: | + git config --global --add safe.directory ${GITHUB_WORKSPACE} python Tools/Carbonix_scripts/aircraft_config.py ${{ matrix.xml_file }} ${{ env.commit_id }} ls -la periph-output/ ls -la final-output/