From fab52413bee083e168c307062f4323a33ab9a447 Mon Sep 17 00:00:00 2001 From: Souriya Trinh Date: Mon, 5 Feb 2024 21:56:37 +0100 Subject: [PATCH] [skip-ci] Try not removing Java packages for ubuntu-isolated.yml job. --- .github/workflows/ubuntu-dep-src.yml | 3 ++- .github/workflows/ubuntu-isolated.yml | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ubuntu-dep-src.yml b/.github/workflows/ubuntu-dep-src.yml index b5a32ff802..af526068c8 100644 --- a/.github/workflows/ubuntu-dep-src.yml +++ b/.github/workflows/ubuntu-dep-src.yml @@ -73,7 +73,8 @@ jobs: git clone --recursive --depth 1 https://github.com/Kitware/VTK.git ${HOME}/VTK cd ${HOME}/VTK mkdir build && cd build && mkdir install - cmake .. -DVTK_ANDROID_BUILD=OFF -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DVTK_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DVTK_GROUP_ENABLE_Imaging=DONT_WANT -DVTK_GROUP_ENABLE_MPI=DONT_WANT -DVTK_GROUP_ENABLE_Web=DONT_WANT -DCMAKE_INSTALL_PREFIX=$(pwd)/install + cmake .. -DVTK_ANDROID_BUILD=OFF -DVTK_BUILD_DOCUMENTATION=OFF -DVTK_BUILD_EXAMPLES=OFF -DVTK_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release \ + -DVTK_GROUP_ENABLE_Imaging=DONT_WANT -DVTK_GROUP_ENABLE_MPI=DONT_WANT -DVTK_GROUP_ENABLE_Web=DONT_WANT -DCMAKE_INSTALL_PREFIX=$(pwd)/install make -j$(nproc) install echo "VTK_DIR=$(pwd)/install" >> $GITHUB_ENV echo $VTK_DIR diff --git a/.github/workflows/ubuntu-isolated.yml b/.github/workflows/ubuntu-isolated.yml index 4350e9d896..ddbebbb2e1 100644 --- a/.github/workflows/ubuntu-isolated.yml +++ b/.github/workflows/ubuntu-isolated.yml @@ -32,12 +32,12 @@ jobs: run: | sudo apt-get install libomp-dev sudo apt-get purge --auto-remove 'x11-*' - java -version - sudo dpkg --list | grep -i jdk - sudo dpkg --list | grep -i java - sudo apt-get purge --auto-remove openjdk* - sudo dpkg --list | grep -i jdk - sudo dpkg --list | grep -i java + # java -version + # sudo dpkg --list | grep -i jdk + # sudo dpkg --list | grep -i java + # sudo apt-get purge --auto-remove openjdk* + # sudo dpkg --list | grep -i jdk + # sudo dpkg --list | grep -i java sudo apt-get purge --auto-remove 'libjpeg*' sudo apt-get purge --auto-remove 'libpng*' sudo apt-get purge --auto-remove 'libxml*' @@ -64,7 +64,8 @@ jobs: echo "CC: $CC" echo "CXX: $CXX" echo "Standard: $CXX_STANDARD" - cmake .. -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/tmp/usr/local -DCMAKE_VERBOSE_MAKEFILE=ON -DUSE_CXX_STANDARD=$CXX_STANDARD + cmake .. -DCMAKE_C_COMPILER="${CC}" -DCMAKE_CXX_COMPILER="${CXX}" -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/tmp/usr/local -DCMAKE_VERBOSE_MAKEFILE=ON -DUSE_CXX_STANDARD=$CXX_STANDARD cat ViSP-third-party.txt - name: Compile