-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add ccache Github workflow #879
Add ccache Github workflow #879
Conversation
16301ff
to
b8b5b21
Compare
9293386
to
927e8bf
Compare
.github/workflows/ccache-build.yaml
Outdated
# this step needs to be incorporated in our container that we use for testing | ||
- name: Install dependencies | ||
run: | | ||
dnf install -y ccache clang && dnf builddep -y ./dnf5.spec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m-blaha about this, would you rather update our current container that we use for CI or should we create a separate image for building?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to keep one container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, the COPR secret needs to be fixed. I'll do those two fixes before merging
1f715ac
to
d63a76c
Compare
dfbab73
to
de96510
Compare
looks like the names the workflows are not updated. I'll retry to run them tomorrow |
02e3506
to
ebb04ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This workflow aims to replace the current ci action[1] exploiting ccache to run cmake builds quicker. It shares cache for the same PRs and for the branch each PR is opened against. [1]: https://github.com/rpm-software-management/dnf5/blob/main/.github/workflows/ci.yml#L9-L45
c375d41
to
50e5519
Compare
b00d940
No description provided.