Skip to content

Commit 3665400

Browse files
authored
Update build.yml
1 parent b7423d0 commit 3665400

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,13 @@ jobs:
3131
if: runner.os == 'Linux'
3232
run: |
3333
sudo apt-get update
34-
sudo apt-get install -y clang python3-pip
34+
sudo apt-get install -y clang-16 python3-pip
35+
ln -sf /usr/bin/clang-16 /usr/bin/clang && ln -sf /usr/bin/clang++-16 /usr/bin/clang++
3536
echo "CC=clang" >> $GITHUB_ENV
3637
echo "CXX=clang++" >> $GITHUB_ENV
3738
clang --version
3839
clang++ --version
3940
40-
- name: Install Clang 16
41-
if: matrix.os == 'ubuntu-latest'
42-
run: |
43-
apt update && apt install -y clang-16
44-
ln -sf /usr/bin/clang-16 /usr/bin/clang && ln -sf /usr/bin/clang++-16 /usr/bin/clang++
45-
4641
- name: Install AMBuild
4742
run: |
4843
python -m pip install --upgrade pip setuptools wheel

0 commit comments

Comments
 (0)