Skip to content

Commit

Permalink
Switch to github actions for testing (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes authored Sep 24, 2024
1 parent 3914e5c commit 6f627dc
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 415 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
cmake:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
steps:
- uses: actions/checkout@v4
- run: cmake .
- run: cmake --build .
- run: ctest -V
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)

project(inipp)

Expand Down
16 changes: 0 additions & 16 deletions appveyor.yml

This file was deleted.

48 changes: 0 additions & 48 deletions inipp.sln

This file was deleted.

118 changes: 0 additions & 118 deletions inipp/inipp.vcxproj

This file was deleted.

22 changes: 0 additions & 22 deletions inipp/inipp.vcxproj.filters

This file was deleted.

7 changes: 0 additions & 7 deletions unittest/unittest.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#include "test.h"

#ifdef _MSC_VER
#include "CppUnitTest.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#else
#define TEST_CLASS(T) class T
#define TEST_METHOD(Func) void Func()

Expand Down Expand Up @@ -35,7 +31,6 @@ namespace Logger {
}

} // namespace Logger
#endif

template <class CharT>
void WriteMessage(const Ini<CharT> & ini) {
Expand Down Expand Up @@ -257,7 +252,6 @@ namespace unittest
};
} // namespace unittest

#ifndef _MSC_VER
int main() {
unittest::UnitTest test;
test.TestParseGenerate1();
Expand All @@ -279,4 +273,3 @@ int main() {
test.TestTrailingComments();
return 0;
}
#endif
Loading

0 comments on commit 6f627dc

Please sign in to comment.