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 action to build and test using more Ubuntu releases #15

Merged
merged 6 commits into from
Dec 27, 2023

Conversation

thus
Copy link
Owner

@thus thus commented Dec 27, 2023

Build and test using Ubuntu 16.04, 18.04, 20.04 and 22.04.

C17 is too new for a lot of the distros out there, so use C11
instead.
This saves having to download and install dependencies for every Ubuntu
release twice.
Older versions of cmocka does not have the assert_float_equal() function,
so define it if it is not defined, so we can run the tests on older OS
releases.
Older versions of GCC and Clang warns a lot when initializing structs
with {0}. Silence these warnings with -Wno-missing-field-initializers
-Wno-missing-braces.
@thus thus merged commit 1762e8a into master Dec 27, 2023
7 checks passed
@thus thus deleted the thus-actions-more-ubuntu-releases-v1 branch December 27, 2023 23:47
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.

1 participant