Skip to content

Conversation

@bcat
Copy link

@bcat bcat commented Nov 15, 2025

Use the userspace-compile -p flag to show verbose errors when userspace builds via GitHub Actions fail.

Failure log before (no idea what I did wrong): https://github.com/bcat/qmk_userspace/actions/runs/19383283478/job/55465913714

Failure log after (oops, forgot ENCODER_MAP_ENABLE): https://github.com/bcat/qmk_userspace/actions/runs/19383530540/job/55466590376

- name: Build
run: |
qmk userspace-compile -e DUMP_CI_METADATA=yes || touch .failed
qmk userspace-compile -e DUMP_CI_METADATA=yes -p || touch .failed
Copy link
Member

Choose a reason for hiding this comment

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

As the current use case is to use these steps unpinned, and the qmk_firmware fork could be "old", we probably need this to be backwards compatible.

Something like this should work:

Suggested change
qmk userspace-compile -e DUMP_CI_METADATA=yes -p || touch .failed
if qmk userspace-compile --help | grep -q "print-failures"; then
EXTRA_ARGS="-p"
fi
qmk userspace-compile -e DUMP_CI_METADATA=yes $EXTRA_ARGS || touch .failed

@zvecr
Copy link
Member

zvecr commented Jan 25, 2026

Closed in favour of #14.

@zvecr zvecr closed this Jan 25, 2026
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