handle GitHub runner image updates

clang-14 and clang-15 are no longer installed by default.
main
Daniel Micay 2024-12-15 22:10:47 -05:00
parent a7302add63
commit c97263ef0c
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ jobs:
version: [14, 15] version: [14, 15]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-14 clang-15
- name: Setting up clang version - name: Setting up clang version
run: | run: |
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100