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

Add Alpine Linux CI and stop enabling werror for everyone #37

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

calebccff
Copy link
Member

Enabling -Werror by default sucks for everyone who isn't maintaining
CDBA. By all means we should enable it in CI, but not for users and
not for folks packaging it in distros.

Remove it from the flags in meson.build, and use mesons built in option
to enable it only in CI.

See:
https://embeddedartistry.com/blog/2017/05/22/werror-is-not-your-friend/

I plan to package CDBA in Alpine soon, having build tests for it in CI will help ensure that we avoid easy regressions like missing headers (yay musl..)

@calebccff calebccff force-pushed the werror-and-alpine branch 4 times, most recently from 5d6aed6 to 7993619 Compare October 19, 2023 23:13
@lumag
Copy link
Collaborator

lumag commented Oct 23, 2023

@calebccff could you please fix the error reported on Debian / buster?

@calebccff
Copy link
Member Author

i realise i did almost exactly what you have in

#35

if you want to just merge that I'll adjust this pr to just add alpine CI

@calebccff calebccff force-pushed the werror-and-alpine branch 2 times, most recently from 57d45d9 to 362df00 Compare October 28, 2023 15:38
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@superna9999 superna9999 added the enhancement New feature or request label Oct 30, 2023
@lumag lumag mentioned this pull request Nov 1, 2023
4 tasks
Copy link
Collaborator

@lumag lumag left a comment

Choose a reason for hiding this comment

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

@calebccff could you please follow @superna9999 's suggestions?

Silence Clang warning by removing unused '0' from struct initialisation.

Signed-off-by: Dmitry Baryshkov <[email protected]>
Enabling -Werror by default sucks for everyone who isn't maintaining
CDBA. By all means we should enable it in CI, but not for users and
not for folks packaging it in distros.

Remove it from the flags in meson.build, and use mesons built in option
to enable it only in CI.

See:
https://embeddedartistry.com/blog/2017/05/22/werror-is-not-your-friend/

Signed-off-by: Caleb Connolly <[email protected]>
I plan to package CDBA in alpine, as it uses musl libc it is a lot
easier for things to break there. Add alpine latest edge and stable
build tests to catch these.

Signed-off-by: Caleb Connolly <[email protected]>
@lumag lumag requested a review from superna9999 November 6, 2023 12:26
@lumag lumag enabled auto-merge November 6, 2023 12:26
Copy link
Member

@superna9999 superna9999 left a comment

Choose a reason for hiding this comment

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

LGTM

@lumag lumag merged commit bc5e25f into linux-msm:master Nov 6, 2023
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants