From d80fb277521a8e1850ffb87ad145d8a0180bc133 Mon Sep 17 00:00:00 2001 From: Raul Sanchez-Mateos Lizano Date: Tue, 16 Jul 2024 15:04:04 +0200 Subject: [PATCH 1/2] Fix python version in sanitizers CI (#5074) Signed-off-by: Raul Sanchez-Mateos (cherry picked from commit f782040d125cbd374221609ac308054e42c93e05) Signed-off-by: eduponz --- .github/workflows/reusable-sanitizers-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index 9f461e513a3..c47c9451540 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -69,6 +69,11 @@ jobs: path: src/fastrtps ref: ${{ inputs.fastdds_ref }} + - name: Install Fix Python version + uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + with: + python-version: '3.11' + - name: Get minimum supported version of CMake uses: eProsima/eProsima-CI/external/get-cmake@v0 with: @@ -140,6 +145,11 @@ jobs: name: build_artifacts_fastdds_asan_${{ inputs.label }} path: ${{ github.workspace }} + - name: Install Fix Python version + uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + with: + python-version: '3.11' + - name: Get minimum supported version of CMake uses: eProsima/eProsima-CI/external/get-cmake@v0 with: @@ -233,6 +243,11 @@ jobs: name: build_artifacts_fastdds_asan_${{ inputs.label }} path: ${{ github.workspace }} + - name: Install Fix Python version + uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + with: + python-version: '3.11' + - name: Get minimum supported version of CMake uses: eProsima/eProsima-CI/external/get-cmake@v0 with: @@ -341,6 +356,11 @@ jobs: path: src/fastrtps ref: ${{ inputs.fastdds_ref }} + - name: Install Fix Python version + uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + with: + python-version: '3.11' + - name: Get minimum supported version of CMake uses: eProsima/eProsima-CI/external/get-cmake@v0 with: From 4c19fd90beb3507af89a419e7e574d811b8b6fca Mon Sep 17 00:00:00 2001 From: eduponz Date: Thu, 18 Jul 2024 07:13:29 +0200 Subject: [PATCH 2/2] Adjust action version Signed-off-by: eduponz --- .github/workflows/reusable-sanitizers-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index c47c9451540..a36f7b03f61 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -70,7 +70,7 @@ jobs: ref: ${{ inputs.fastdds_ref }} - name: Install Fix Python version - uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + uses: eProsima/eProsima-CI/external/setup-python@v0 with: python-version: '3.11' @@ -146,7 +146,7 @@ jobs: path: ${{ github.workspace }} - name: Install Fix Python version - uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + uses: eProsima/eProsima-CI/external/setup-python@v0 with: python-version: '3.11' @@ -244,7 +244,7 @@ jobs: path: ${{ github.workspace }} - name: Install Fix Python version - uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + uses: eProsima/eProsima-CI/external/setup-python@v0 with: python-version: '3.11' @@ -357,7 +357,7 @@ jobs: ref: ${{ inputs.fastdds_ref }} - name: Install Fix Python version - uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv + uses: eProsima/eProsima-CI/external/setup-python@v0 with: python-version: '3.11'