Skip to content

[21158] CI - Avoid CCache in workflows and nightlys#4971

Merged
EduPonz merged 2 commits intomasterfrom
hotfix/ci/avoid_ccache
Jun 20, 2024
Merged

[21158] CI - Avoid CCache in workflows and nightlys#4971
EduPonz merged 2 commits intomasterfrom
hotfix/ci/avoid_ccache

Conversation

@JesusPoderoso
Copy link
Copy Markdown
Contributor

@JesusPoderoso JesusPoderoso commented Jun 20, 2024

Description

This PR performs the following improvements in this project CI:

  • Avoid CCache in all workflows, keeping it configurable in most of them for debug purposes
  • Avoid CCache also in nightlys

Important: Backports must remove nightly workflows

@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x

Contributor Checklist

  • Commit messages follow the project guidelines.
  • N/A The code follows the style guidelines of this project.
  • N/A Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • N/A Any new/modified methods have been properly documented using Doxygen.
  • N/A Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • N/A Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • N/A Changes are API compatible.
  • N/A New feature has been added to the versions.md file (if applicable).
  • N/A New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
@JesusPoderoso JesusPoderoso added this to the v3.0.0 milestone Jun 20, 2024
@JesusPoderoso JesusPoderoso added the skip-ci Automatically pass CI label Jun 20, 2024
@JesusPoderoso JesusPoderoso requested review from EduPonz and removed request for EduPonz June 20, 2024 06:21
@github-actions github-actions bot added the ci-pending PR which CI is running label Jun 20, 2024
@JesusPoderoso JesusPoderoso removed the ci-pending PR which CI is running label Jun 20, 2024
@JesusPoderoso JesusPoderoso requested review from EduPonz and removed request for EduPonz June 20, 2024 07:44
@github-actions github-actions bot added the ci-pending PR which CI is running label Jun 20, 2024
@JesusPoderoso JesusPoderoso removed the ci-pending PR which CI is running label Jun 20, 2024
@JesusPoderoso JesusPoderoso force-pushed the hotfix/ci/avoid_ccache branch from ee36ef3 to 2602726 Compare June 20, 2024 08:28
@JesusPoderoso JesusPoderoso changed the title [21158] CI - Avoid CCache in workflows and nightlys, and make skipped jobs pass with green CI [21158] CI - Avoid CCache in workflows and nightlys Jun 20, 2024
@JesusPoderoso JesusPoderoso added no-test Skip CI tests if PR marked with this label and removed skip-ci Automatically pass CI labels Jun 20, 2024
@JesusPoderoso JesusPoderoso requested review from EduPonz and removed request for EduPonz June 20, 2024 08:31
@github-actions github-actions bot added the ci-pending PR which CI is running label Jun 20, 2024
@JesusPoderoso
Copy link
Copy Markdown
Contributor Author

To ensure that the Sanitizer job does not use CCache (it has been skipped due to the no-test flag), a manual run has been triggered with ctest-args -N to avoid running tests.

@EduPonz EduPonz merged commit 7f6f423 into master Jun 20, 2024
@EduPonz EduPonz deleted the hotfix/ci/avoid_ccache branch June 20, 2024 10:19
@EduPonz
Copy link
Copy Markdown

EduPonz commented Jun 20, 2024

@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 20, 2024

backport 2.14.x 2.13.x 2.10.x 2.6.x

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

# Conflicts:
#	.github/workflows/mac-ci.yml
#	.github/workflows/nightly-mac-ci.yml
#	.github/workflows/nightly-ubuntu-ci.yml
mergify bot pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

# Conflicts:
#	.github/workflows/mac-ci.yml
#	.github/workflows/nightly-mac-ci.yml
#	.github/workflows/nightly-ubuntu-ci.yml
mergify bot pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

# Conflicts:
#	.github/workflows/mac-ci.yml
#	.github/workflows/nightly-mac-ci.yml
#	.github/workflows/nightly-ubuntu-ci.yml
mergify bot pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

# Conflicts:
#	.github/workflows/mac-ci.yml
#	.github/workflows/nightly-mac-ci.yml
#	.github/workflows/nightly-ubuntu-ci.yml
#	.github/workflows/reusable-mac-ci.yml
#	.github/workflows/reusable-sanitizers-ci.yml
JesusPoderoso added a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)
JesusPoderoso added a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)
JesusPoderoso added a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)
JesusPoderoso added a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)
JesusPoderoso added a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)
EduPonz pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
EduPonz pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
EduPonz pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
EduPonz pushed a commit that referenced this pull request Jun 20, 2024
* Refs #21158: Remove CCache in Ubuntu nightly workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21158: Avoid CCache in remain workflows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
(cherry picked from commit 7f6f423)

Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-pending PR which CI is running no-test Skip CI tests if PR marked with this label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants