-
Notifications
You must be signed in to change notification settings - Fork 40
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
CI: bump to ubuntu-22.04 #773
Conversation
Let's see what breaks.
I suggest to add
Then it seems to work more correctly. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f4f7ea7..04a4a70 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -47,7 +47,7 @@ jobs:
- name: Run cppcheck
shell: bash
run: |
- cppcheck --error-exitcode=1 -q -U_WIN32 -Isrc opl src setup textscreen
+ cppcheck --error-exitcode=1 -q -j4 --force -U_WIN32 -Isrc opl src setup textscreen
win64_msys2:
runs-on: windows-latest |
Oh, yes, sure. Could you please just add it? |
OK. The UMAPINFO |
Thanks! I think I'll have to report this string size alert in |
After this date, this PR will become obsolete and we can merge #771 to get rid of all new warnings at once. |
I have just requested access (!) to the cppcheck issue tracker. Let's see where this leads us... |
It seems ubuntu-22.04 has cppcheck-2.7 and there have been two releases since then: https://github.com/danmar/cppcheck/releases Anyway I think there were no useful warnings from cppcheck ever. Maybe we should remove it? |
Right, but 2.9 in Debian emits the same warnings.
It was very helpful in the early days and is mostly meant to catch rough edges. I don't know when it started to go "super smart", but I think the few nit-picks that it unveils are easy enough to fix and improve code quality as a whole. The one odd issue that IMHO makes no sense will be reported upstream and meanwhile there is a trivial fix for it in the corresponding PR. |
Yep, this is indeed a bug in cppchecker that is now fixed: |
ubuntu-22.04 is now ubuntu-latest |
Let's see what breaks.