Skip to content

Commit 77cf587

Browse files
committed
Update cmake.yml
1 parent cec686e commit 77cf587

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- os: ubuntu-latest
4242
c_compiler: gcc
4343
cpp_compiler: g++
44-
- os: ubuntu-latest
44+
- os: ubuntu-24.04
4545
c_compiler: clang
4646
cpp_compiler: clang++
4747
- os: macOS-latest
@@ -71,6 +71,13 @@ jobs:
7171
run: |
7272
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
7373
74+
- name: list clang versions
75+
run: |
76+
clang_list=$(apt list --installed 2>/dev/null | grep clang | awk -F/ '{print $1}')
77+
for clang_ver in $clang_list; do
78+
$clang_ver --version
79+
done
80+
7481
- name: Configure CMake
7582
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
7683
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type

0 commit comments

Comments
 (0)