mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-10 11:59:50 +08:00
Added testing to appveyor, github actions cancellable on re-commit on same branch
This commit is contained in:
+6
-1
@@ -135,11 +135,16 @@ before_build:
|
|||||||
- cd c:\projects\rtabmap\build
|
- cd c:\projects\rtabmap\build
|
||||||
- ECHO %PROGRAMFILES%
|
- ECHO %PROGRAMFILES%
|
||||||
- ECHO %PATH%
|
- ECHO %PATH%
|
||||||
- cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:\Program Files\opencv\build" -DPCL_DIR="C:\Program Files\PCL\cmake" -DCPUTSDF_DIR="C:\Program Files\cpu_tsdf\share\cpu_tsdf" -Dyaml-cpp_DIR="C:\Program Files\yaml-cpp\CMake" -DBUILD_AS_BUNDLE=ON ..
|
- cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:\Program Files\opencv\build" -DPCL_DIR="C:\Program Files\PCL\cmake" -DCPUTSDF_DIR="C:\Program Files\cpu_tsdf\share\cpu_tsdf" -Dyaml-cpp_DIR="C:\Program Files\yaml-cpp\CMake" -DBUILD_AS_BUNDLE=ON -DBUILD_TESTING=ON ..
|
||||||
|
|
||||||
after_build :
|
after_build :
|
||||||
- cmake --build . --config Release --target package
|
- cmake --build . --config Release --target package
|
||||||
|
|
||||||
|
test_script:
|
||||||
|
- cd c:\projects\rtabmap\build
|
||||||
|
- cmake --build . --config Release --target all
|
||||||
|
- ctest -C Release --output-on-failure --timeout 300
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: build\RTABMap-*
|
- path: build\RTABMap-*
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ jobs:
|
|||||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
name: Build on ros ${{ matrix.ros_distribution }} and ${{ matrix.os }}
|
name: Build on ros ${{ matrix.ros_distribution }} and ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.ros_distribution }}-${{ matrix.os }}
|
||||||
|
cancel-in-progress: true
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}
|
||||||
|
cancel-in-progress: true
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Reference in New Issue
Block a user