Skip to content

Commit

Permalink
[skip-ci] Try not removing Java packages for ubuntu-isolated.yml job.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-trinh committed Feb 5, 2024
1 parent 1dad774 commit fab5241
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu-dep-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/ubuntu-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*'
Expand All @@ -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
Expand Down

0 comments on commit fab5241

Please sign in to comment.