diff --git a/.gitlab/ci/_global.gitlab-ci.yml b/.gitlab/ci/_global.gitlab-ci.yml index 331373fe0f27e7750183eb2e76fe83300cf316a8..3f10dfa305719b0bf46d83a68c40efd2ab5f3307 100644 --- a/.gitlab/ci/_global.gitlab-ci.yml +++ b/.gitlab/ci/_global.gitlab-ci.yml @@ -21,4 +21,14 @@ default: image: nvidia/cuda:12.2.0-devel-ubuntu22.04 before_script: - apt update - - apt install -y cmake cppcheck python-is-python3 pip git gcovr unzip curl + - apt install -y cmake cppcheck python-is-python3 pip git gcovr unzip curl wget g++ + # Install OpenCV + # Download and unpack sources + - wget -O opencv.zip https://github.com/opencv/opencv/archive/4.x.zip + - unzip opencv.zip + # Create build directory + - mkdir -p build && cd build + # Configure + - cmake ../opencv-4.x + # Build + - cmake --build .