Skip to content

Commit

Permalink
Fixing build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SySyAli committed Dec 23, 2023
1 parent fbe5fac commit 6d43c5d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 78 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Run Automated Tests

on: [push, pull_request]

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Set up CMake, Ninja, and MSVC
uses: lukka/[email protected]

- name: Configure CMake
# sqlite3 handled by CMake
run: cmake -S . -B build -G "Ninja"

- name: Build
run: cmake --build build

- name: Test
run: ./bin/testing
75 changes: 0 additions & 75 deletions .github/workflows/cmake-multi-platform.yml

This file was deleted.

19 changes: 16 additions & 3 deletions tests/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
//
// Created by syeda on 12/23/2023.
//
/**
* @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.
* @author Syed Ali
*/

#include <gtest/gtest.h>

int main(int argc, char** argv)
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}

0 comments on commit 6d43c5d

Please sign in to comment.