Skip to content

CI-unixish-docker.yml: perform make and CMake builds in parallel#4415

Merged
orbitcowboy merged 3 commits into
cppcheck-opensource:mainfrom
firewave:unixish-split
Aug 29, 2022
Merged

CI-unixish-docker.yml: perform make and CMake builds in parallel#4415
orbitcowboy merged 3 commits into
cppcheck-opensource:mainfrom
firewave:unixish-split

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Aug 28, 2022

This is in preparation of #4411 to be able to use ccache in more cases. It also allows for more builds in parallel and separates parts of the workflow which do not depend on each other. The same should be done for CI-unixish.yml.

The refactoring is horrible and introduces lots of redundant code in terms of setting up things but it appears there's no better way to do it. You cannot use a prerequisite job to set up those things since all the jobs start with a clean filesystem and you need to transfer all files between them which is obviously a problem if you installed packages. There's also "composite actions" (see https://stackoverflow.com/a/71570847/532627) but those seem to require external files which doesn't improve things either.

@firewave firewave marked this pull request as draft August 28, 2022 08:00
@firewave firewave marked this pull request as ready for review August 28, 2022 08:08
@orbitcowboy orbitcowboy merged commit 6c72a27 into cppcheck-opensource:main Aug 29, 2022
@firewave firewave deleted the unixish-split branch August 29, 2022 11: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.

2 participants