Skip to content

Conversation

@csegarragonz
Copy link
Collaborator

@csegarragonz csegarragonz commented Jan 9, 2023

In GHA, we build codegen_func and codegen_shared_obj without sanitisers to generate machine code for test runs. Currently, we do it once for every test run in the matrix. This PR changes the behaviour to build it once per workflow run.

Different jobs in the matrix run in parallel, so theoretically this change should not reduce overall runtime as the time we save in tests(<Sanitiser>) is now spent in conan-cache making conan-cache + tests(<Sanitiser>) the same. However, this does reduce considerably the aggregate runtime.

Take as an example a run without this fix and a run with this fix .

@csegarragonz csegarragonz self-assigned this Jan 9, 2023
@csegarragonz csegarragonz requested a review from Shillaker January 9, 2023 15:04
@csegarragonz csegarragonz merged commit a1c095d into main Feb 3, 2023
@csegarragonz csegarragonz deleted the share-codegen branch February 3, 2023 17:44
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.

3 participants