Skip to content

Merge pull request #37 from openxrlab/xrslam-parsac #47

Merge pull request #37 from openxrlab/xrslam-parsac

Merge pull request #37 from openxrlab/xrslam-parsac #47

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'README_CN.md'
- 'docs/**'
pull_request:
paths-ignore:
- 'README.md'
- 'README_CN.md'
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-18.04
defaults:
run:
shell: bash -l {0}
container:
image: openxrlab/xrslam_ci:ubuntu1804_x64_cpu_gcc9
steps:
- uses: actions/checkout@v2
- name: Build and install
run: |
mv /xrprimer ../
cmake -B build -D XRSLAM_TEST=ON
cmake --build build -j4
- name: Run unittests and generate coverage report
run: |
./build/bin/test_version
./build/bin/test_se3_cost_function
./build/bin/test_feature_track