From c8fc05d9bde24cd3fdb864188ad6971f90986605 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:12:33 +0100 Subject: [PATCH] Add CCache to all CI jobs (#4114) (#4117) Signed-off-by: EduPonz (cherry picked from commit 7bbdb1cecf11311ffab2301d8016c19bce131b27) Co-authored-by: Eduardo Ponz Segrelles --- .github/workflows/documentation-tests.yaml | 3 +++ .github/workflows/reusable-windows-ci.yml | 3 +++ .github/workflows/sanitizer-tests.yaml | 3 +++ .github/workflows/thread-sanitizer.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/documentation-tests.yaml b/.github/workflows/documentation-tests.yaml index 85d935f710b..af7861fcbc2 100644 --- a/.github/workflows/documentation-tests.yaml +++ b/.github/workflows/documentation-tests.yaml @@ -52,6 +52,9 @@ jobs: - name: Install documentation packages uses: ./src/fastrtps/.github/actions/install-apt-packages-documentation + - name: Setup CCache + uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + - name: Download FastDDS dependencies run: | pip3 install vcstool diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index d02ccf3a13a..7086b618746 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -51,6 +51,9 @@ jobs: with: cmakeVersion: '3.16.3' + - name: Setup CCache + uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + - name: Patch SDK for source indexing run: | # This is a well known issue and the workarond is taken from there diff --git a/.github/workflows/sanitizer-tests.yaml b/.github/workflows/sanitizer-tests.yaml index 201f63c4ac6..6343c31698f 100644 --- a/.github/workflows/sanitizer-tests.yaml +++ b/.github/workflows/sanitizer-tests.yaml @@ -36,6 +36,9 @@ jobs: with: packages: wget + - name: Setup CCache + uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + - name: Install colcon uses: eProsima/eProsima-CI/ubuntu/install_colcon@v0 diff --git a/.github/workflows/thread-sanitizer.yaml b/.github/workflows/thread-sanitizer.yaml index 10db4044a5d..03f72ba6ba4 100644 --- a/.github/workflows/thread-sanitizer.yaml +++ b/.github/workflows/thread-sanitizer.yaml @@ -59,6 +59,9 @@ jobs: with: packages: wget + - name: Setup CCache + uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 + - name: Install colcon uses: eProsima/eProsima-CI/ubuntu/install_colcon@v0