Skip to content

Conversation

@dbaarda
Copy link
Member

@dbaarda dbaarda commented Jan 31, 2023

The old v2 versions of checkout and upload-artifact github actions now produce errors warning they must be updated. The new versions are v3.

The iwyu package has now fixed it's deps and we no longer need to explicitly install libclang-common-9-dev which doesn't exist any more.

The iwyu build target should ignore fileutil.c, and use neater clang output with noisy "note:" output removed.

Run make iwyu-fix to fix includes for tests/rabinkarp_perf.c.

The old v2 versions of these github actions now produce errors warning you
need to update them.
The iwyu package dependencies have been fixed, and this old package doesn't
exist any more.
@dbaarda dbaarda force-pushed the fix/github_actions_v3 branch from 56ca888 to 32826df Compare January 31, 2023 23:02
@dbaarda
Copy link
Member Author

dbaarda commented Jan 31, 2023

Note the lint check is now working correctly, but it's still failing because the iwyu test thinks the includes for fileutil.c and rabinkarp_perf.c are excessive.

In the case of fileutil.c, this is a platform-compatibility package that might not need some headers on linux, but might on other platforms. So this is a failure that can/should be ignored. Maybe we should somehow setup the tests to ignore this?

For rabinkarp_perf.c it's probably right, and it should be adjusted.

@dbaarda dbaarda changed the title Update github actions checkout and upload-artifact to v3. Update github actions and fix iwyu build target. Feb 1, 2023
@dbaarda dbaarda merged commit 8f8de97 into librsync:master Feb 1, 2023
@dbaarda dbaarda deleted the fix/github_actions_v3 branch February 1, 2023 02:31
@sourcefrog
Copy link
Contributor

It looks like iwyu is failing in CI (https://github.com/librsync/librsync/actions/runs/14822488789/job/41611359535) in a way that I can not yet reproduce locally...

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