Add libraries to artifacts
This commit is contained in:
@@ -55,6 +55,15 @@ else
|
||||
|
||||
# build unittests
|
||||
make $MAKE_OPTIONS unittests
|
||||
|
||||
# Creating System Library folder to contain all dependend libraries to run OpenFlipper
|
||||
if [ ! -d systemlib ]; then
|
||||
echo "Creating systemlib folder"
|
||||
mkdir systemlib
|
||||
fi
|
||||
|
||||
echo "Copying all required libraries of OpenFlipper to the systemlib directory"
|
||||
ldd bin/OpenFlipper | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib
|
||||
fi
|
||||
|
||||
cd ..
|
||||
@@ -47,6 +47,10 @@ fi
|
||||
# Run cmake to make sure the tests are configured correctly for this system
|
||||
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../
|
||||
|
||||
#tell the location to the libs from build jobs
|
||||
export LD_LIBRARY_PATH=$(pwd)/Build/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH=$(pwd)/Build/systemlib:$LD_LIBRARY_PATH
|
||||
|
||||
echo -e "${OUTPUT}"
|
||||
echo ""
|
||||
echo "======================================================================"
|
||||
|
||||
Reference in New Issue
Block a user