Merge pull request #27 from originlake/two_view_plane_fix #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker CI | |
on: [push, pull_request] | |
jobs: | |
build-test: | |
name: Build docker installing CeresSolver 2 and run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile.ceres2 --tag mapillary/opensfm.ceres2:$GITHUB_SHA | |
- name: Run C++ tests | |
run: docker run mapillary/opensfm.ceres2:$GITHUB_SHA /bin/sh -c "cd cmake_build && ctest" | |
- name: Run Python tests | |
run: docker run mapillary/opensfm.ceres2:$GITHUB_SHA python3 -m pytest |