Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: many GitHub annotations #6316

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SimonHeimberg
Copy link
Contributor

Type of change
Enhancement of testsuite

Issue(s) closed
Fixes -

New behavior
Compiler errors and similar messages are marked clearly on GitHub.

How it works
The marking of the failure is done with github problem matchers.
A README.md about it is included in another pr (only in one to avoid merge conflicts), see: https://github.com/SimonHeimberg/widelands/tree/build_codecheck_improve/.github/problem_matchers

This marks compiler errors clearly on github.

gcc and clang seem to report problems in the same way.
Use gcc matcher as the format is the same.
This marks errors clearly on github.
This marks compiler errors clearly on github.
I guessed with 0.2 it would automatically update to 0.2.1, but this is wrong.
Copy link

@bunnybot bunnybot left a comment

Choose a reason for hiding this comment

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

tothxaMirrored from Codeberg
On Mon Jan 15 13:47:04 CET 2024, Tóth András (tothxa) commented.

@@ -18,6 +18,8 @@ jobs:
uses: actions/checkout@v3
- name: Installing dependencies
run: sh ./.github/scripts/install_deps.sh
- name: show compiler failures clearly on github
uses: ammaraskar/gcc-problem-matcher@0.2.0

Choose a reason for hiding this comment

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

tothxaMirrored from Codeberg
On Mon Jan 15 13:47:04 CET 2024, Tóth András (tothxa) wrote:


-1 for another unofficial action.

@bunnybot
Copy link

tothxaMirrored from Codeberg
On Mon Jan 15 13:49:39 CET 2024, Tóth András (tothxa) wrote:


And another -1 if it's responsible for this:
fail.png

Also, could you please concentrate on your PRs that are targeted for v1.2 until we can freeze, instead of opening new ones?

@tothxa
Copy link
Member

tothxa commented Jan 15, 2024

fail

@bunnybot bunnybot added this to the v1.3 milestone Jan 15, 2024
@bunnybot
Copy link

tothxaMirrored from Codeberg
On Mon Jan 15 16:04:34 CET 2024, Tóth András (tothxa) wrote:


For clarification: The idea is OK in theory, but it's certainly bad execution if lines causing failures get spammed like this. And it's not even the 16 failures in our 16 matrix configurations, but more instances with the same matrix config. Also annotations on github are of little use for users on codeberg.

@bunnybot bunnybot added the ci:success CI checks succeeded label Apr 2, 2024
@bunnybot bunnybot added ci:success CI checks succeeded and removed ci:success CI checks succeeded labels May 1, 2024
@bunnybot bunnybot added ci:success CI checks succeeded and removed ci:success CI checks succeeded labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:success CI checks succeeded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants