Added testing to appveyor, github actions cancellable on re-commit on same branch

This commit is contained in:
matlabbe
2025-12-21 19:00:16 -08:00
parent 3f71fa4755
commit b6353d6cb3
3 changed files with 12 additions and 1 deletions
+6 -1
View File
@@ -135,11 +135,16 @@ before_build:
- cd c:\projects\rtabmap\build
- ECHO %PROGRAMFILES%
- 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 :
- 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:
- path: build\RTABMap-*
+3
View File
@@ -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
name: Build on ros ${{ matrix.ros_distribution }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.ros_distribution }}-${{ matrix.os }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
+3
View File
@@ -15,6 +15,9 @@ jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix: