Skip to content

Commit

Permalink
Fix CI and cleanup & add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppDev committed Aug 10, 2024
1 parent 94503bf commit 41a64e4
Show file tree
Hide file tree
Showing 6 changed files with 230 additions and 175 deletions.
74 changes: 74 additions & 0 deletions .github/actions/check_tool_versions/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@

name: 'check_tool_versions'
description: 'Checks all tool versions'
inputs:
clangtidy:
required: false
default: 'false'
clangformat:
required: false
default: 'false'
documentation:
required: false
default: 'false'
coverage:
required: false
default: 'false'
compiler:
required: false
default: ''

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(inputs.compiler, 'gcc') }}
- run: clang++ --version
shell: bash
if: ${{ runner.os == 'macOS' || (runner.os == 'Linux' && startsWith(inputs.compiler, 'llvm')) }}
- run: cl.exe
shell: pwsh
if: ${{ runner.os == 'Windows' }}
- run: clang-tidy --version
shell: bash
if: ${{ inputs.clangtidy == 'true' }}
- run: clang-format --version
shell: bash
if: ${{ inputs.clangformat == 'true' }}
- 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 == 'true' }}
- run: gcov --version
shell: bash
if: ${{ runner.os == 'Linux' && inputs.coverage == 'true' }}
- run: doxygen --version
shell: bash
if: ${{ inputs.documentation == 'true' }}
- run: dvips --version
shell: bash
if: ${{ inputs.documentation == 'true' }}
- run: gs --version
shell: bash
if: ${{ inputs.documentation == 'true' }}
- run: latex --version
shell: bash
if: ${{ inputs.documentation == 'true' }}
- run: command -v pdf2svg
shell: bash
if: ${{ inputs.documentation == 'true' }}
3 changes: 2 additions & 1 deletion .github/actions/setup_cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ inputs:
doxygen:
required: true
type: string
default: "OFF"


runs:
using: "composite"
steps:
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
# You might want to add .ccache to your cache configuration?
path: |
Expand Down
Loading

0 comments on commit 41a64e4

Please sign in to comment.