mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 09:07:47 +08:00
Enabled testing on mac, updated windows testing like on linux
This commit is contained in:
@@ -51,7 +51,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: |
|
||||||
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.extra_cmake_def }}
|
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTING=ON ${{ matrix.extra_cmake_def }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
@@ -75,9 +75,9 @@ jobs:
|
|||||||
# if-no-files-found: warn
|
# if-no-files-found: warn
|
||||||
# retention-days: ${{ github.event_name == 'pull_request' && 1 || 90 }}
|
# retention-days: ${{ github.event_name == 'pull_request' && 1 || 90 }}
|
||||||
|
|
||||||
# - name: Test
|
- name: Test
|
||||||
# working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
# # Execute tests defined by the CMake configuration.
|
run: |
|
||||||
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
||||||
# run: ctest -C ${{env.BUILD_TYPE}}
|
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --rerun-failed
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300
|
run: |
|
||||||
|
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300
|
||||||
|
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --timeout 300 --rerun-failed
|
||||||
|
|
||||||
- name: Build Windows Package
|
- name: Build Windows Package
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@@ -103,10 +105,3 @@ jobs:
|
|||||||
compression-level: 0
|
compression-level: 0
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
retention-days: ${{ github.event_name == 'pull_request' && 1 || 90 }}
|
retention-days: ${{ github.event_name == 'pull_request' && 1 || 90 }}
|
||||||
|
|
||||||
# - 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}}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user