ci(release): stop publishing the debug UF2 as a release download
The debug build (ENABLE_SERIAL=ON) compiles out tud_connect/disconnect and enumerates as a serial console, not a working HID/audio bridge — an end user who downloads it gets a non-functional dongle. Keep it buildable on demand (-DENABLE_SERIAL=ON) and in build.yml PR CI for compile coverage, but don't ship it on the public release page. Releases now upload the standard UF2 only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
1c4e34f8da
commit
9920516f52
@@ -93,16 +93,11 @@ jobs:
|
|||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp build/standard/ds5-bridge-oled.uf2 "artifacts/ds5-bridge-oled-${{ github.event.release.tag_name }}.uf2"
|
cp build/standard/ds5-bridge-oled.uf2 "artifacts/ds5-bridge-oled-${{ github.event.release.tag_name }}.uf2"
|
||||||
|
|
||||||
- name: Build Debug firmware
|
# The debug build (ENABLE_SERIAL=ON) compiles out tud_connect/disconnect and
|
||||||
run: |
|
# comes up as a serial console rather than a working HID/audio bridge — a
|
||||||
cmake -S . -B build/debug -G Ninja \
|
# developer diagnostic, not an end-user UF2. It is NOT published as a release
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
# download (footgun) — build it on demand with -DENABLE_SERIAL=ON, or use the
|
||||||
-DPICO_SDK_PATH="$PICO_SDK_PATH" \
|
# PR-CI compile in build.yml. See CHANGELOG/CLAUDE.md.
|
||||||
-DENABLE_SERIAL=ON \
|
|
||||||
-DENABLE_VERBOSE=ON \
|
|
||||||
-DVERSION="$FIRMWARE_VERSION"
|
|
||||||
cmake --build build/debug --target ds5-bridge
|
|
||||||
cp build/debug/ds5-bridge-oled.uf2 "artifacts/ds5-bridge-oled-debug-${{ github.event.release.tag_name }}.uf2"
|
|
||||||
|
|
||||||
- name: Compute UF2 checksums + append to release notes
|
- name: Compute UF2 checksums + append to release notes
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user