Skip to content

Commit 6a0a2ae

Browse files
committed
llvm -> 18.1.0, use clang 18 in linux
1 parent d521c71 commit 6a0a2ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: .github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Builds
33
on: push
44

55
env:
6-
LLVM_VERSION: "17.0.6"
6+
LLVM_VERSION: "18.1.0"
77

88
jobs:
99
linux:
@@ -21,18 +21,18 @@ jobs:
2121
run:
2222
shell: bash
2323
steps:
24-
- name: Add llvm repo for clang 17 & install
24+
- name: Add llvm repo for clang 18 & install
2525
run: |
2626
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
27-
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-17 main"
27+
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main"
2828
sudo apt update -yy
29-
sudo apt install -yy clang-17
29+
sudo apt install -yy clang-18
3030
- name: Set clang version
3131
run: |
3232
sudo update-alternatives --remove-all clang || echo "nothing to remove"
3333
sudo update-alternatives --remove-all clang++ || echo "nothing to remove"
34-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
35-
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100
34+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
35+
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
3636
- uses: actions/checkout@v4
3737
- name: Build script
3838
run: ./build.sh

0 commit comments

Comments
 (0)