Skip to content

Commit

Permalink
fix print software version for cl
Browse files Browse the repository at this point in the history
  • Loading branch information
wusatosi committed Dec 5, 2024
1 parent 60f8aeb commit 643a39e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,18 @@ jobs:
with:
arch: x64
- name: Print installed softwares
shell: bash
run: |
echo "Compiler:"
${{ matrix.platform.cpp }} --version
${{ matrix.platform.c }} --version
# cl does not have a --version option
if [ "${{ matrix.platform.cpp }}" != "cl" ]; then
${{ matrix.platform.cpp }} --version
${{ matrix.platform.c }} --version
else
${{ matrix.platform.cpp }}
${{ matrix.platform.c }}
fi
echo "Build system:"
cmake --version
Expand Down

0 comments on commit 643a39e

Please sign in to comment.