Skip to content

Commit

Permalink
Add build to the linter process to make header known for the process
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Jan 7, 2024
1 parent 33593b5 commit 6b42ae8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ jobs:
-DOPENMP_LIBRARIES="/opt/homebrew/opt/llvm/lib"
-S ${{ github.workspace }}
- name: Build (Unix)
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
if: ${{ !startsWith(matrix.os,'windows-') }}
run: sudo cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

- name: C/C++ Linter
uses: cpp-linter/[email protected]
id: linter
Expand Down

0 comments on commit 6b42ae8

Please sign in to comment.