add newer Clang versions for GitHub workflow

This commit is contained in:
Daniel Micay 2025-09-23 18:09:59 -04:00
parent 33ed3027ab
commit c46d3cab33

View file

@ -24,11 +24,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
version: [14, 15, 16, 17, 18] version: [14, 15, 16, 17, 18, 19, 20]
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install dependencies - name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-14 clang-15 run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-14 clang-15 clang-19 clang-20
- 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