Skip to content

Commit

Permalink
Enhance CI workflow for aircraft configuration processing by adding t…
Browse files Browse the repository at this point in the history
…oolchain support, updating container image, and installing necessary bash tools
  • Loading branch information
loki077 committed Dec 9, 2024
1 parent e6c0213 commit 2b38860
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/carbonix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 2b38860

Please sign in to comment.