Skip to content

Commit

Permalink
Set g++-12 and clang++-15 as alternatives in ci-pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
pboechat committed Jun 2, 2024
1 parent 9e708a7 commit fe5a7d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,18 @@ jobs:
run: |
sudo apt-get install -y gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12
sudo update-alternatives --set gcc /usr/bin/gcc-12
sudo update-alternatives --set g++ /usr/bin/g++-12
- name: Install compiler
if: matrix.compiler == 'clang'
run: |
sudo apt-get install -y clang-15
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 100
sudo update-alternatives --set clang /usr/bin/clang-15
sudo update-alternatives --set clang++ /usr/bin/clang++-15
- name: Install build tools
run: |
Expand Down

0 comments on commit fe5a7d0

Please sign in to comment.