Skip to content

Commit

Permalink
XDont do unit tests on Windows (they arent running in master either)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Apr 29, 2024
1 parent edcf300 commit 7b04b8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,20 @@ jobs:
run:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Check out reactor-c repository
uses: actions/checkout@v2

- name: Build and run unit tests ${{ inputs.cmake-args }} (linux)
- name: Build and run unit tests ${{ inputs.cmake-args }}
run: |
mkdir build
cd build
cmake .. ${{ inputs.cmake-args }}
cmake --build .
sudo make test
if: matrix.platform == 'ubuntu-latest'
- name: Build and run unit tests ${{ inputs.cmake-args }} (macos/win)
run: |
mkdir build
cd build
cmake .. ${{ inputs.cmake-args }}
cmake --build .
make test
if: matrix.platform != 'ubuntu-latest'
- name: Run RTI unit tests
run: |
cd core/federated/RTI
Expand All @@ -42,5 +33,4 @@ jobs:
cmake ..
cmake --build .
ctest
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macos-latest'
2 changes: 0 additions & 2 deletions test/Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ if(NUMBER_OF_WORKERS)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
add_test_dir(${TEST_DIR}/scheduling)
endif()
else()
add_test_dir(${TEST_DIR}/single-threaded)
endif(NUMBER_OF_WORKERS)

# Create executables for each test.
Expand Down

0 comments on commit 7b04b8a

Please sign in to comment.