From 5245c9ebf6422f72e9c380fe7418a3c5b3e31a37 Mon Sep 17 00:00:00 2001 From: Ugo Pattacini Date: Mon, 14 Oct 2024 09:22:22 +0200 Subject: [PATCH] fix ci on ubuntu --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f83da8c67..4d9f8c4caf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: # Remove apt repos that are known to break from time to time # See https://github.com/actions/virtual-environments/issues/323 - name: Remove broken apt repos [Ubuntu] - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' shell: bash run: | for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done @@ -56,7 +56,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Dependencies [Ubuntu] - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' shell: bash run: | sudo apt update @@ -114,7 +114,7 @@ jobs: cmake --build . --config ${{ matrix.build_type }} --target INSTALL - name: Source-based Dependencies [Ubuntu] - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' shell: bash run: | # YCM @@ -173,7 +173,7 @@ jobs: -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install .. - name: Configure [Ubuntu] - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' shell: bash run: | mkdir -p build @@ -202,7 +202,7 @@ jobs: -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install .. - name: Enable python bindings on Ubuntu - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' shell: bash run: | cd build