Skip to content

Conversation

@pks-gitlab
Copy link

@pks-gitlab pks-gitlab commented Sep 22, 2025

This pull request introduces a couple of CI improvements:

  • We start testing on 32 bit Linux.
  • We enable "-Werror" and more compiler warnings.
  • We upgrade to checkout@v5.

@pks-gitlab pks-gitlab force-pushed the pks-ci-improvements branch 7 times, most recently from f0f86fc to 4231366 Compare September 22, 2025 11:29
@pks-gitlab
Copy link
Author

This detects the issue in #126. Will merge after that PR is merged.

We're using an `int i` to index through an array. This causes a
"-Wsign-compare" warning because the array size is unsigned, whereas the
index is signed.

Fix this by using a `size_t` index.
We don't currently enable "-Werror" in our GitHub CI jobs, which means
that compiler warnings will not be detected at all. Enable this flag and
more warnings so that we don't miss any issues that could have been
detected by the compiler.
Some warnings may only be generated on 32 bit systems. Add a new job to
compile on a 32 bit Linux system to more readily detect such issues.

Note that we're not using Ubuntu here, but Debian. Ubuntu does not
receive updates for its 32 bit Docker image anymore.
@pks-t pks-t merged commit 10e96bc into clar-test:main Sep 22, 2025
7 checks passed
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