Skip to content

Commit

Permalink
run linters locally onyl
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Sep 28, 2023
1 parent 679a1e6 commit 00cddca
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@ jobs:
build_type: 'Debug'
channels: 'potassco/label/dev'
env_file: '.github/linux-env.yml'
tidy: "-DCMAKE_CXX_CLANG_TIDY:STRING=''"
- os: 'macos-latest'
generator: 'Ninja'
build_type: 'Debug'
env_file: '.github/macos-env.yml'
tidy: "-DCMAKE_CXX_CLANG_TIDY:STRING='clang-tidy;--extra-arg-before=-stdlib=libc++;-header-filter=.*hh;-warnings-as-errors=clang-analyzer-*,readability-*,modernize-*,cppcoreguidelines-*,performance-*,bugprone-*,-modernize-use-trailing-return-type,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg'"
- os: 'windows-latest'
generator: 'Visual Studio 17 2022'
build_type: 'Release'
env_file: '.github/generic-env.yml'
tidy: "-DCMAKE_CXX_CLANG_TIDY:STRING=''"

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -58,5 +55,5 @@ jobs:
--build-config "${{ matrix.build_type }}"
--build-generator "${{ matrix.generator }}"
--build-and-test . build
--build-options -DCLINGODL_BUILD_TESTS=On "${{ matrix.tidy }}"
--build-options -DCLINGODL_BUILD_TESTS=On
--test-command ctest -V --build-config "${{ matrix.build_type }}"

0 comments on commit 00cddca

Please sign in to comment.