From f8654c18aa529b0fc016659d3aaa629aa211e10e Mon Sep 17 00:00:00 2001 From: Bertrand Kerautret Date: Mon, 26 Aug 2024 17:23:00 +0200 Subject: [PATCH] follow conf from DGtal --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af0080d..445c705 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ env: CONFIG_GLOBAL: CONFIG_LINUX: -DWITH_MAGICK=true -DWITH_GMP=true -DWITH_FFTW3=true -DWARNING_AS_ERROR=ON -DWITH_HDF5=true -DWITH_QGLVIEWER=true -DWITH_CAIRO=true -DWITH_EIGEN=true -DDGTAL_ENABLE_FLOATING_POINT_EXCEPTIONS=true CONFIG_MAC: -DWITH_EIGEN=true -DWITH_GMP=tue - CONFIG_WINDOWS: -DWITH_OPENMP=true -DENABLE_CONAN=true + CONFIG_WINDOWS: -DWITH_OPENMP=true jobs: build: @@ -44,12 +44,14 @@ jobs: - name: Create conan default profile if: matrix.os == 'windows-latest' - run: conan profile detect --force - + run: | + conan profile detect --force + + - uses: actions/cache@v4 if: matrix.os == 'windows-latest' with: - path: ~/.conan + path: ~/.conan2 key: ${{ runner.os }}-conan2-Release @@ -88,9 +90,9 @@ jobs: shell: bash working-directory: ${{runner.workspace}}/build run: | - conan install $GITHUB_WORKSPACE --build=missing git clone --depth 1 https://github.com/DGtal-team/DGtal.git cd DGtal + conan install . --build=missing mkdir buildDGtal cd buildDGtal echo cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE $CONFIG_WINDOWS -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DBUILD_EXAMPLES=false -DBUILD_TESTING=false