Commit graph

288 commits

Author SHA1 Message Date
Corentin Jabot
f385036bee Disable clang-tidy clechs which create false positive in gtest 2021-09-11 09:42:53 +02:00
Patricia Aas
2cbb9df80d Don't use WarningsAsErrors yet 2021-09-10 17:01:34 +02:00
Patricia Aas
5b0629758f Try to set the build path correctly 2021-09-10 16:53:21 +02:00
Patricia Aas
bf0d90c76a Create compilation database correctly 2021-09-10 16:50:17 +02:00
Patricia Aas
b8d7f005fc Add WarningsAsErrors in clang-tidy.yml 2021-09-10 16:49:06 +02:00
Patricia Aas
d97731dc0b Install linux deps 2021-09-10 16:39:41 +02:00
Patricia Aas
b708633c95 Add cache to clang-tidy.yml 2021-09-10 16:33:53 +02:00
Patricia Aas
ee46bd4576
Try to run clang tidy 2021-09-10 16:30:11 +02:00
Patricia Aas
64d30408c6 Fix typos 2021-09-10 16:20:38 +02:00
Patricia Aas
a06281f145 Initialize member 2021-09-10 16:20:38 +02:00
Corentin Jabot
4b364bdda8 Enable tests on CI 2021-09-10 15:55:59 +02:00
Patricia Aas
262ac5dcc5 No shouty 2021-09-10 15:49:33 +02:00
Patricia Aas
90f546f1b2 Revert "There is no standardized interface to add an additional message to assert errors. A portable way to include one is to use a comma operator provided it has not been overloaded"
This reverts commit 32a27e986e.
2021-09-10 15:35:06 +02:00
Patricia Aas
32a27e986e There is no standardized interface to add an additional message to assert errors. A portable way to include one is to use a comma operator provided it has not been overloaded 2021-09-10 15:33:13 +02:00
Corentin Jabot
b3480111db Fix conversions warning (again) 2021-09-10 15:28:38 +02:00
Patricia Aas
5521dd25b6 Fix cache name 2021-09-10 15:14:56 +02:00
Corentin Jabot
bc83fa77c3 Fix conversions warnings 2021-09-10 15:04:43 +02:00
Patricia Aas
36fc3f5a74 Set no-unused-lambda-capture 2021-09-10 15:04:10 +02:00
Patricia Aas
adbe00a466 Don't install Clang 2021-09-10 15:02:40 +02:00
Patricia Aas
912624ccf9 Cache vcpkg_installed also 2021-09-10 14:39:33 +02:00
Patricia Aas
8b6a0a5c86 Don't use C-cast 2021-09-10 14:32:46 +02:00
Corentin Jabot
eb092224f4 Fix mac build maybe 2021-09-10 14:05:35 +02:00
Corentin Jabot
25394c4cdd Right the wrongs 2021-09-10 14:02:09 +02:00
Patricia Aas
a61da5ab80 Fix cache name 2021-09-10 14:00:33 +02:00
Patricia Aas
8ffa028b2f Try to add caching #4 2021-09-10 13:57:24 +02:00
Ólafur Waage
030c82d1bc Formatting changes. 2021-09-10 13:57:01 +02:00
Patricia Aas
f60e449d8e Corentin is wrong, still 2021-09-10 13:50:30 +02:00
Patricia Aas
0b4926cc60 Corentin is wrong 2021-09-10 13:39:21 +02:00
Patricia Aas
7687fb506c Refactor CMake
Thank you Jason!
2021-09-10 13:10:34 +02:00
Ólafur Waage
d0ab367bee Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 12:21:13 +02:00
Ólafur Waage
b7c312ebd7 Adding global to cmake property. 2021-09-10 12:21:05 +02:00
Patricia Aas
43f3514b04 make set_property global 2021-09-10 12:19:31 +02:00
Patricia Aas
9f64660938 use project to set language 2021-09-10 12:19:12 +02:00
Patricia Aas
b30d71ac96 Set C++ version to 17 2021-09-10 11:42:46 +02:00
Patricia Aas
706c6245a5 Capture local explicitly 2021-09-10 11:41:20 +02:00
Patricia Aas
0f7ad08ae9 Add missing include 2021-09-10 11:41:00 +02:00
Ólafur Waage
6d79a0862d Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:36:46 +02:00
Corentin Jabot
06cb7a17f6 Fix the build again 2021-09-10 11:35:26 +02:00
Ólafur Waage
d9536b94ea Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:35:24 +02:00
Ólafur Waage
7fbe29740c Adding MSVC_RUNTIME_LIBRARY to global property. 2021-09-10 11:35:15 +02:00
Corentin Jabot
8db4b0af79 Fix the build (this is why you make PRs kids) 2021-09-10 11:24:24 +02:00
Ólafur Waage
e07616ea52 Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-10 11:04:44 +02:00
Corentin Jabot
453dd17d7c Use size_t again 2021-09-10 11:04:27 +02:00
Patricia Aas
54ec3bcdf9 Don't use submodule anymore we are using FetchContent 2021-09-10 10:59:00 +02:00
Ólafur Waage
b3e63d766a Removing const from non reference argument 2021-09-10 10:54:44 +02:00
Ólafur Waage
434875e344
Merge pull request #26 from mod-cpp/owaage_test_refactor
Testing and Code refactor.
2021-09-10 10:23:17 +02:00
Ólafur Waage
1ad8a1ec8e Adding simple deterministic fuzz test for GameState. 2021-09-09 11:15:31 +02:00
Ólafur Waage
2f62f7ae1d Reverting pellet C++20 changes since we don't target 20 fully. 2021-09-09 10:59:59 +02:00
Ólafur Waage
613831f1c0 Fixes for ghost movement where they would occationally exit the stage when cornered. Closes #25 2021-09-09 10:56:29 +02:00
Ólafur Waage
60b3cdeb40 Formatting and const fixes. Also check for extra canGo calls. 2021-09-08 14:49:43 +02:00