ci: Use official Arm GNU Toolchain 10.3-2021.10 for releases#7
Merged
Merged
Conversation
There was a problem hiding this comment.
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-eabiwithcarlosperate/arm-none-eabi-gcc-action@v1pinned to10.3-2021.10. - Introduce a (single-entry) matrix for the GCC release version to match other workflows.
- Print
arm-none-eabi-gcc --versionduring dependency installation for traceability.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
generate_release.ymlinstallait la toolchain viasudo apt install gcc-arm-none-eabi(paquet Debian repackagé), connu pour produire des firmware DAPLink non-fonctionnels.carlosperate/arm-none-eabi-gcc-action@v1avecrelease: '10.3-2021.10', alignant le release workflow surlinux.ymlet sur la version officielle ARM recommandée pardocs/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 viacarlosperate/arm-none-eabi-gcc-action, mais le release workflow utilisait toujoursapt. La vérification GCC n'avait pas été refaite quand les ciblessteami32_ifetstm32wb55rg_ifont été ajoutées au release workflow.Test plan
workflow_dispatch) sur cette branche pour vérifier que la compilation passe avec la nouvelle toolchain.stm32f103xb_steami32_if_crc.binp.ex.) et vérifier l'énumération USB / fonctionnement du DAPLink.