File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 7171 run : |
7272 echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
7373
74+ - name : Install Clang and Libraries
75+ if : matrix.os == 'ubuntu-22.04' && matrix.c_compiler == 'clang'
76+ run : |
77+ sudo apt-get update
78+ sudo apt-get install -y clang libc++-dev libc++abi-dev
79+
80+ - name : Set Clang 16 as Default
81+ if : matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
82+ run : |
83+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100
84+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
85+ sudo update-alternatives --set clang /usr/bin/clang-16
86+ sudo update-alternatives --set clang++ /usr/bin/clang++-16
87+
7488 - name : Check Clang Settings
7589 if : matrix.os == 'ubuntu-22.04' && matrix.c_compiler == 'clang'
7690 run : |
You can’t perform that action at this time.
0 commit comments