Skip to content

Commit

Permalink
Enable test and example building in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rsore committed Nov 14, 2024
1 parent 9530dbd commit 06b35c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/clang-tidy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
cmakeAppendedArgs: >-
-G Ninja
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCLARGS_BUILD_EXAMPLES=ON
-DCLARGS_BUILD_TESTS=ON
buildWithCMakeArgs: >-
--target CLArgs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
sudo apt install -y gcc-14 g++-14 libpcre3 liblapack-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14
- name: configure
run: mkdir build && cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Debug
run: mkdir build && cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Debug -DCLARGS_BUILD_EXAMPLES=ON -DCLARGS_BUILD_TESTS=ON
- name: make
run: cmake --build build --target CLArgsTests -j${{ runner.cpu }}
- name: run tests
Expand Down

0 comments on commit 06b35c6

Please sign in to comment.