Skip to content

ci: Use official Arm GNU Toolchain 10.3-2021.10 for releases#7

Merged
nedseb merged 1 commit into
release_letssteamfrom
fix/release-workflow-gcc-toolchain
May 12, 2026
Merged

ci: Use official Arm GNU Toolchain 10.3-2021.10 for releases#7
nedseb merged 1 commit into
release_letssteamfrom
fix/release-workflow-gcc-toolchain

Conversation

@nedseb
Copy link
Copy Markdown

@nedseb nedseb commented May 12, 2026

Summary

  • Le workflow generate_release.yml installait la toolchain via sudo apt install gcc-arm-none-eabi (paquet Debian repackagé), connu pour produire des firmware DAPLink non-fonctionnels.
  • Remplacé par carlosperate/arm-none-eabi-gcc-action@v1 avec release: '10.3-2021.10', alignant le release workflow sur linux.yml et sur la version officielle ARM recommandée par docs/DEVELOPERS-GUIDE.md.

Contexte

Les firmware DAPLink attachés aux releases ne sont pas fonctionnels, alors que les builds locaux (avec une toolchain ARM officielle 10.3 installée manuellement) marchent. Le workflow PR (linux.yml) utilise déjà la bonne toolchain via carlosperate/arm-none-eabi-gcc-action, mais le release workflow utilisait toujours apt. La vérification GCC n'avait pas été refaite quand les cibles steami32_if et stm32wb55rg_if ont été ajoutées au release workflow.

Test plan

  • Déclencher le workflow manuellement (workflow_dispatch) sur cette branche pour vérifier que la compilation passe avec la nouvelle toolchain.
  • Flasher l'un des binaires produits (stm32f103xb_steami32_if_crc.bin p.ex.) et vérifier l'énumération USB / fonctionnement du DAPLink.
  • Après merge, confirmer que la prochaine release auto-générée produit des firmware fonctionnels.

Copilot AI review requested due to automatic review settings May 12, 2026 10:03
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release GitHub Actions workflow to use the official Arm GNU Toolchain (10.3-2021.10) via carlosperate/arm-none-eabi-gcc-action@v1, replacing the Ubuntu gcc-arm-none-eabi package that can produce non-functional DAPLink firmware. This aligns the release build environment with the existing Linux CI workflow and the version recommended in docs/DEVELOPERS-GUIDE.md.

Changes:

  • Replace apt install gcc-arm-none-eabi with carlosperate/arm-none-eabi-gcc-action@v1 pinned to 10.3-2021.10.
  • Introduce a (single-entry) matrix for the GCC release version to match other workflows.
  • Print arm-none-eabi-gcc --version during dependency installation for traceability.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nedseb nedseb merged commit 6d3bf5c into release_letssteam May 12, 2026
4 checks passed
@nedseb nedseb deleted the fix/release-workflow-gcc-toolchain branch May 12, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants