mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 09:37:46 +08:00
Added integration tests (RGB-D, Stereo, Lidar2d, Lidar3d)
This commit is contained in:
@@ -43,6 +43,21 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Restore test data
|
||||
id: cache-testdata
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# SQLite DBs are binary-portable -> share the cache across
|
||||
# linux / macos / windows. Key omits runner.os on purpose so all
|
||||
# three OSes hit the same entry.
|
||||
path: data/tests/*.db
|
||||
key: testdata-${{ hashFiles('data/tests/manifest.txt') }}
|
||||
|
||||
- name: Fetch test data
|
||||
if: steps.cache-testdata.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: bash scripts/fetch_test_data.sh
|
||||
|
||||
- name: Install Linux Dependencies
|
||||
run: |
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -44,6 +44,21 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Restore test data
|
||||
id: cache-testdata
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# SQLite DBs are binary-portable -> share the cache across
|
||||
# linux / macos / windows. Key omits runner.os on purpose so all
|
||||
# three OSes hit the same entry.
|
||||
path: data/tests/*.db
|
||||
key: testdata-${{ hashFiles('data/tests/manifest.txt') }}
|
||||
|
||||
- name: Fetch test data
|
||||
if: steps.cache-testdata.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: bash scripts/fetch_test_data.sh
|
||||
|
||||
- name: Install Brew Dependencies
|
||||
run: |
|
||||
# Update brew and install from Brewfile if present, or specific packages
|
||||
|
||||
@@ -36,6 +36,21 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Restore test data
|
||||
id: cache-testdata
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
# SQLite DBs are binary-portable -> share the cache across
|
||||
# linux / macos / windows. Key omits runner.os on purpose so all
|
||||
# three OSes hit the same entry.
|
||||
path: data/tests/*.db
|
||||
key: testdata-${{ hashFiles('data/tests/manifest.txt') }}
|
||||
|
||||
- name: Fetch test data
|
||||
if: steps.cache-testdata.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: bash scripts/fetch_test_data.sh
|
||||
|
||||
- name: Install Windows Dependencies
|
||||
if: matrix.build_name == 'windows-2022'
|
||||
uses: ./.github/actions/install-windows-deps
|
||||
|
||||
Reference in New Issue
Block a user