Github Actions. Падает workflow. Ошибка в секции сtests

Первый раз настраиваю google tests для github action. Падает вот с такой ошибкой, не могу понять в чем дело:

Run ctest -C Debug
Test project D:/a/WorkFlow/WorkFlow/build
    Start 1: google_tests_NOT_BUILT
Could not find executable google_tests_NOT_BUILT
Unable to find executable: google_tests_NOT_BUILT
Looked in the following places:
google_tests_NOT_BUILT
google_tests_NOT_BUILT.exe
Debug/google_tests_NOT_BUILT
Debug/google_tests_NOT_BUILT.exe
Debug/google_tests_NOT_BUILT
Debug/google_tests_NOT_BUILT.exe
1/1 Test #1: google_tests_NOT_BUILT ...........***Not Run   0.00 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.05 sec

The following tests FAILED:
      1 - google_tests_NOT_BUILT (Not Run)
Errors while running CTest
Output from these tests are in: D:/a/WorkFlow/WorkFlow/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
Error: Process completed with exit code 1.

Сама директория проекта выглядит так, а google-test лежат соответственно в папке build:

.git
build
cmake
scripts
src
tests
.gitgnore
CMakeLists.txt

Мой workflow выглядит так:

name: CI - Windows

on: [push, pull_request]

env:
  # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
  BUILD_TYPE: Debug

jobs:
  build:
    # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
    # You can convert this to a matrix build if you need cross-platform coverage.
    # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v2

    - name: Install python  
      shell: bash
      run: |
            python -m pip install --upgrade pip
    - name: Install dependencies with conan
      shell: bash
      run: |
            pip install conan
            cd cmake
            conan install --build missing ../scripts
    - name: Build
      # Build your program with the given configuration    
      run: |
           mkdir build
           cd build
           cmake ..
    - name: Test
      working-directory: ${{github.workspace}}/build/
      # Execute tests defined by the CMake configuration.  
      # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
      run: ctest -C ${{env.BUILD_TYPE}}

Буду благодарен тем, кто сообщит мне в чем проблема.


Ответы (0 шт):