Skip to content

Commit

Permalink
gha/linux: Make the extra LLVM plugins packages removal non-fatal on …
Browse files Browse the repository at this point in the history
…failure
  • Loading branch information
dragonmux committed Oct 14, 2024
1 parent 1b4043f commit 3f2c67f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,20 @@ jobs:
CC: ${{ matrix.compiler }}
working-directory: ${{ runner.temp }}
- name: Remove old LLVM 12 plugins
if: matrix.compiler != 'clang-12'
run: |
sudo apt purge llvm-12-linker-tools
sudo apt purge llvm-12-linker-tools || true
- name: Remove old LLVM 13 plugins
if: matrix.compiler != 'clang-13'
run: |
sudo apt purge llvm-13-linker-tools
sudo apt purge llvm-13-linker-tools || true
- name: Remove old LLVM 14 plugins
if: matrix.compiler != 'clang-14'
run: |
sudo apt purge llvm-14-linker-tools
sudo apt purge llvm-14-linker-tools || true
- name: Remove old LLVM 15 plugins
if: matrix.compiler != 'clang-15'
run: |
sudo apt purge llvm-15-linker-tools
sudo apt purge llvm-15-linker-tools || true
- name: Install dependencies
shell: bash
run: sudo apt-get install libudev-dev
Expand Down

0 comments on commit 3f2c67f

Please sign in to comment.