Skip to content

Commit

Permalink
Merge pull request #13 from naviqore/feature/clean-up-project-structure
Browse files Browse the repository at this point in the history
ENH: add build on ubuntu
  • Loading branch information
Brunner246 authored Aug 16, 2024
2 parents 4fe1f40 + ee716b9 commit 2a2b9e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest] # , ubuntu-latest , macos-latest
os: [windows-latest, ubuntu-latest] # , macos-latest
include:
- os: windows-latest
compiler: msvc
# - os: ubuntu-latest
# compiler: gcc
- os: ubuntu-latest
compiler: gcc
# - os: macos-latest
# compiler: clang
steps:
Expand Down Expand Up @@ -43,6 +43,6 @@ jobs:
run: |
cmake --build build --config Release
- name: Test
- name: Run tests
run: |
cmake --build build --target test
ctest --test-dir build --output-on-failure -C Release
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ add_subdirectory(raptor)
add_subdirectory(raptor/test)
#TODO set up project in a new branch JIRA story
# add_subdirectory(gtfsRaptorConfig)

include(CTest)
enable_testing()
7 changes: 0 additions & 7 deletions schedule/test/test_gtfsReaderTxt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
#include <fmt/core.h>


/////////////// TESTS ///////////////
/////////////////////////////////////
/// RUN TESTS IN DEBUG MODE ONLY ////
/////////////////////////////////////
/////////////////////////////////////


class GtfsCsvReaderStrategiesTest : public testing::Test
{
protected:
Expand Down

0 comments on commit 2a2b9e7

Please sign in to comment.