Skip to content

Commit 5cd5c9f

Browse files
committed
Add more diagnostics when configuring
1 parent abaf71e commit 5cd5c9f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,18 @@ jobs:
7272
- name: Install dependencies and generate project files
7373
run: |
7474
call %GITHUB_WORKSPACE%\.github\setup-msvc-env.bat
75+
echo ==== Compiler diagnostics before configure ====
76+
where cl || echo cl not found on PATH
77+
where cc || echo cc not found on PATH
78+
where c++.exe || echo c++.exe not found on PATH
79+
echo CC=%CC%
80+
echo CXX=%CXX%
7581
mkdir build
7682
cd build
7783
cmake -S .. -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_TOOLS=ON -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake -DUSE_CRYPTO=${{matrix.crypto}}
84+
echo ==== CMake compiler cache ====
85+
findstr /R "^CMAKE_C_COMPILER:.*" CMakeCache.txt
86+
findstr /R "^CMAKE_CXX_COMPILER:.*" CMakeCache.txt
7887
shell: cmd
7988

8089
- name: Build projects

0 commit comments

Comments
 (0)