From 7aa09bbd6312ad5096f99149f3b59a2d513aa8e6 Mon Sep 17 00:00:00 2001 From: SySyAli Date: Sat, 23 Dec 2023 02:56:55 -0500 Subject: [PATCH] Fixing build.yml --- .github/workflows/build.yml | 6 ++++-- tests/main.cpp | 14 +++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb987be..a5efcd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,8 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up CMake, Ninja, and MSVC - uses: lukka/get-cmake@v3.19.2 + - name: Set up CMake + uses: actions/setup-cmake@v1 + with: + cmake-version: '3.26' - name: Configure CMake # sqlite3 handled by CMake diff --git a/tests/main.cpp b/tests/main.cpp index c54b52d..57ff4dc 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,16 +1,16 @@ /** * @file main.cpp * @brief Test driver. - * @detailed The test driver. Through its associated tests, this driver aims to exercise all - * of the functionality of the AppTracker, AppEntry, and DatabaseManager classes in a clear and - * consistent way so that the class's interface and implementation can be easily inferred. + * @detailed The test driver. Through its associated tests, this driver aims to + * exercise all of the functionality of the AppTracker, AppEntry, and + * DatabaseManager classes in a clear and consistent way so that the class's + * interface and implementation can be easily inferred. * @author Syed Ali */ #include -int main(int argc, char** argv) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); +int main(int argc, char **argv) { + ::testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); } \ No newline at end of file