Skip to content

Commit

Permalink
only build vdt if not installed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Dec 11, 2024
1 parent c6ef1b4 commit f5b0878
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,12 @@ jobs:
rm "$ROOT_file"
source root/bin/thisroot.sh
echo ROOTSYS="$ROOTSYS" >> $GITHUB_ENV
# Need to manually install vdt
git clone https://github.com/drbenmorgan/vdt.git
cmake -DCMAKE_INSTALL_PREFIX="$ROOTSYS" -S vdt -B vdtbuild
cmake --build vdtbuild --target install --config Release
if [ ! -f "$ROOTSYS"/include/vdt/vdtcore_common.h ]; then
# Need to manually install vdt
git clone https://github.com/drbenmorgan/vdt.git
cmake -DCMAKE_INSTALL_PREFIX="$ROOTSYS" -S vdt -B vdtbuild
cmake --build vdtbuild --target install --config Release
fi
fi
# we'll install some dependencies with shared libraries, so need to let the OS know
Expand Down

0 comments on commit f5b0878

Please sign in to comment.