From f4c24d7346d76b5fad3f94cbd47d2bb055eeaef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Fri, 29 Nov 2024 14:05:21 +0000 Subject: [PATCH] =?UTF-8?q?[ci]=C2=A0Update=20Ubuntu=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/continuous-integration.yml | 40 ++++++++++---------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e8fe10512f..cce6d0c859 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -22,7 +22,7 @@ jobs: build-linux: runs-on: ubuntu-latest container: - image: alicevision/alicevision-deps:2024.10.22-ubuntu20.04-cuda11.3.1 + image: alicevision/alicevision-deps:2024.11.25-ubuntu22.04-cuda12.1.0 env: DEPS_INSTALL_DIR: /opt/AliceVision_install BUILD_TYPE: Release @@ -45,26 +45,24 @@ jobs: run: | cmake .. \ -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ - -DBUILD_SHARED_LIBS:BOOL=ON \ + -DBUILD_SHARED_LIBS=ON \ -DCMAKE_PREFIX_PATH="${DEPS_INSTALL_DIR}" \ - -DCMAKE_INSTALL_PREFIX:PATH=$PWD/../../AV_install \ + -DCMAKE_LIBRARY_PATH="${DEPS_INSTALL_DIR}" \ + -DCMAKE_INSTALL_PREFIX="${ALICEVISION_ROOT}" \ -DTARGET_ARCHITECTURE=core \ - -DALICEVISION_BUILD_TESTS:BOOL=ON \ - -DALICEVISION_BUILD_SWIG_BINDING:BOOL=ON \ - -DALICEVISION_USE_OPENCV:BOOL=ON \ - -DALICEVISION_USE_CUDA:BOOL=ON \ - -DALICEVISION_USE_CCTAG:BOOL=ON \ - -DALICEVISION_USE_POPSIFT:BOOL=ON \ - -DALICEVISION_USE_ALEMBIC:BOOL=ON \ - -DOpenCV_DIR:PATH="${DEPS_INSTALL_DIR}/share/OpenCV" \ - -DALICEVISION_USE_OPENGV:BOOL=ON \ - -DOPENGV_DIR:PATH="${DEPS_INSTALL_DIR}" \ - -DBOOST_NO_CXX11:BOOL=ON \ - -DCeres_DIR:PATH="${DEPS_INSTALL_DIR}/share/Ceres" \ - -DEIGEN_INCLUDE_DIR_HINTS:PATH="${DEPS_INSTALL_DIR}" \ - -DAlembic_DIR:PATH="${DEPS_INSTALL_DIR}/lib/cmake/Alembic" \ - -DSWIG_DIR:PATH="${DEPS_INSTALL_DIR}/share/swig/4.3.0" \ - -DSWIG_EXECUTABLE:PATH="${DEPS_INSTALL_DIR}/bin-deps/swig" + -DALICEVISION_BUILD_TESTS=ON \ + -DALICEVISION_BUILD_SWIG_BINDING=ON \ + -DALICEVISION_USE_OPENCV=ON \ + -DALICEVISION_USE_CUDA=ON \ + -DALICEVISION_USE_CCTAG=ON \ + -DALICEVISION_USE_POPSIFT=ON \ + -DALICEVISION_USE_ALEMBIC=ON \ + -DOpenCV_DIR="${DEPS_INSTALL_DIR}/share/OpenCV" \ + -DALICEVISION_USE_OPENGV=ON \ + -DCeres_DIR="${DEPS_INSTALL_DIR}/share/Ceres" \ + -DAlembic_DIR="${DEPS_INSTALL_DIR}/lib/cmake/Alembic" \ + -DSWIG_DIR="${DEPS_INSTALL_DIR}/share/swig/4.3.0" \ + -DSWIG_EXECUTABLE="${DEPS_INSTALL_DIR}/bin-deps/swig" - name: Build working-directory: ./build @@ -79,6 +77,10 @@ jobs: - name: Unit Tests working-directory: ./build run: | + echo ${LD_LIBRARY_PATH} + echo "LDD after export" + find / -name "libboost_thread.so.1.84.0" + ldd /__w/AliceVision/AliceVision/build/Linux-x86_64/aliceVision_test_numeric make test - name: Build As Third Party