Skip to content

Commit

Permalink
Merge branch 'gha-clang' of https://github.com/cmazakas/liburing
Browse files Browse the repository at this point in the history
* 'gha-clang' of https://github.com/cmazakas/liburing:
  workflows/build.yml: install default ubuntu-24.04 clang
  • Loading branch information
axboe committed Feb 19, 2025
2 parents f06c186 + 5cb44fe commit 66b071d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,8 @@ jobs:

- name: Install Compilers
run: |
if [[ "${{matrix.cc_pkg}}" == "clang" ]]; then \
wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh; \
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14 -y; \
sudo bash /tmp/llvm.sh 17; \
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 400; \
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 400; \
else \
sudo apt-get update -y; \
sudo apt-get install -y ${{matrix.cc_pkg}} ${{matrix.cxx_pkg}}; \
fi;
sudo apt-get update -y;
sudo apt-get install -y ${{matrix.cc_pkg}} ${{matrix.cxx_pkg}};
- name: Display compiler versions
run: |
Expand Down

0 comments on commit 66b071d

Please sign in to comment.