From c1d4914a4b5a5fcf749b971dea5c5e2570e51dc1 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Fri, 8 Dec 2023 09:13:17 +0100 Subject: [PATCH] Refs #20055: Add CCache to all CI jobs Signed-off-by: EduPonz --- .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 6d0a509e80b..62a7f9ea133 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 4a011dcab54..4a206164481 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -51,6 +51,9 @@ jobs: with: cmakeVersion: '3.22.6' + - 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 22fb6e31b70..606d924d4ce 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