diff --git a/.github/actions/check_tool_versions/action.yml b/.github/actions/check_tool_versions/action.yml index f17c81d2..8330342e 100644 --- a/.github/actions/check_tool_versions/action.yml +++ b/.github/actions/check_tool_versions/action.yml @@ -27,37 +27,56 @@ runs: using: "composite" steps: - run: uname -a + shell: bash if: ${{ runner.os == 'Linux' }} - run: cat /etc/issue + shell: bash if: ${{ runner.os == 'Linux' }} - run: sw_vers + shell: bash if: ${{ runner.os == 'macOS' }} - run: g++ --version + shell: bash if: ${{ (runner.os == 'Linux' && startsWith(input.compiler, 'gcc') }} - run: clang++ --version + shell: bash if: ${{ ( runner.os == 'Linux' && startsWith(input.compiler, 'llvm') ) || runner.os == 'macOS' }} - run: cl.exe + shell: pwsh if: ${{ runner.os == 'Windows' }} - run: clang-tidy --version + shell: bash if: ${{ inputs.clangtidy }} - run: clang-format --version + shell: bash if: ${{ inputs.clangformat }} - run: cmake --version + shell: bash - run: conan --version + shell: bash - run: conan profile show + shell: bash - run: gcovr --version + shell: bash if: ${{ runner.os == 'Linux' && inputs.coverage }} - run: gcov --version + shell: bash if: ${{ runner.os == 'Linux' && inputs.coverage }} - run: xml_grep --version + shell: bash if: ${{ runner.os == 'Linux' && inputs.coverage }} - run: doxygen --version + shell: bash if: ${{ inputs.documentation }} - run: dvips --version + shell: bash if: ${{ inputs.documentation }} - run: gs --version + shell: bash if: ${{ inputs.documentation }} - run: latex --version + shell: bash if: ${{ inputs.documentation }} - run: command -v pdf2svg + shell: bash if: ${{ inputs.documentation }} \ No newline at end of file