Skip to content

Commit

Permalink
GitHub Actions: clang-format enabled and test check
Browse files Browse the repository at this point in the history
  • Loading branch information
superg committed May 25, 2024
1 parent 423aa98 commit 5168e03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
with:
submodules: 'true'

- name: clang-format Check (linux64)
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: find . -iname '*.hh' -o -iname '*.cc' -o -iname '*.ixx' | xargs clang-format-18 --dry-run -Werror

- name: CMake Configure (win32)
if: ${{ matrix.os == 'windows-2022' && matrix.platform == 32 }}
run: cmake -B ${{env.build_directory}} -G "Visual Studio 17 2022" -A Win32 -DCMAKE_BUILD_TYPE=${{env.build_type}} -DREDUMPER_VERSION_BUILD=${{github.run_number}}
Expand Down
2 changes: 1 addition & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int main(int argc, char *argv[])
}
catch(...)
{
LOG("error: unhandled exception");
LOG ("error: unhandled exception");
exit_code = -2;
}

Expand Down

0 comments on commit 5168e03

Please sign in to comment.