Skip to content

Commit

Permalink
fix ci on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini committed Oct 14, 2024
1 parent ea8e064 commit 5245c9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5245c9e

Please sign in to comment.