Skip to content

Commit

Permalink
Merge branch 'docker' of github.com:roboticslab-uc3m/vision into docker
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Jun 19, 2024
2 parents f055bd0 + 49105ab commit 56fd2b3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
build:
name: build (${{matrix.os}}, ${{matrix.robotology.yarp}}, ${{matrix.compiler.cc}})
runs-on: ${{matrix.os}}
container:
image: ghcr.io/roboticslab-uc3m/vision:${{matrix.os}}-opencv-4.x
env:
DEBIAN_FRONTEND: noninteractive
needs: maybe_skip
if: ${{needs.maybe_skip.outputs.should_skip != 'true'}}

Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
path: .deps/yarp

- name: Install dependencies via apt
run: sudo apt-get update && sudo apt-get install -qq ccache libopencv-dev libpcl-dev swig googletest
run: apt-get update && apt-get install -qq ccache libpcl-dev swig googletest

- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2
Expand All @@ -92,13 +96,13 @@ jobs:
run: |
cmake -S .deps/ycm -B .deps/ycm/build
cmake --build .deps/ycm/build
sudo cmake --install .deps/ycm/build
cmake --install .deps/ycm/build
- name: Build YARP
run: |
cmake -S .deps/yarp -B .deps/yarp/build $CMAKE_CCACHE_LAUNCHER -DSKIP_ACE=ON -DYARP_DISABLE_VERSION_SOURCE=ON
cmake --build .deps/yarp/build
sudo cmake --install .deps/yarp/build
cmake --install .deps/yarp/build
- name: Configure vision
run: cmake -S . -B build $CMAKE_CCACHE_LAUNCHER -DCREATE_BINDINGS_PYTHON=ON -DENABLE_examples=ON
Expand All @@ -107,7 +111,7 @@ jobs:
run: cmake --build build

- name: Install vision
run: sudo cmake --install build && sudo ldconfig
run: cmake --install build && ldconfig

- name: Test vision
working-directory: build
Expand Down

0 comments on commit 56fd2b3

Please sign in to comment.