summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBret Curtis <psi29a@gmail.com>2020-05-14 14:43:04 +0200
committerGitHub <noreply@github.com>2020-05-14 14:43:04 +0200
commitdf1417bf32133ca0a57928c21cfd45b32ef009ad (patch)
tree004a543dd8a6395b7326c14d2a2be876d32404a7
parentfb72c32ff816bcd9dd562ae49b40146fe7696fbe (diff)
parentc53d8b3cdcfe8badd4f71cf3c30bcff0d8bb0f0d (diff)
Merge pull request #2844 from ananace/ci-update-46
Windows CI: Use OSG 3.4-experimental for 0.46
-rw-r--r--CI/before_script.msvc.sh55
1 files changed, 32 insertions, 23 deletions
diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh
index 847435ac56..95ccc3387f 100644
--- a/CI/before_script.msvc.sh
+++ b/CI/before_script.msvc.sh
@@ -32,6 +32,7 @@ KEEP=""
UNITY_BUILD=""
VS_VERSION=""
NMAKE=""
+PDBS=""
PLATFORM=""
CONFIGURATION=""
TEST_FRAMEWORK=""
@@ -76,6 +77,9 @@ while [ $# -gt 0 ]; do
PLATFORM=$1
shift ;;
+ P )
+ PDBS=true ;;
+
c )
CONFIGURATION=$1
shift ;;
@@ -107,6 +111,8 @@ Options:
Choose the Visual Studio version to use.
-n
Produce NMake makefiles instead of a Visual Studio solution.
+ -P
+ Download debug symbols where available
-V
Run verbosely
EOF
@@ -257,6 +263,7 @@ case $VS_VERSION in
MSVC_REAL_VER="16"
MSVC_VER="14.2"
MSVC_YEAR="2015"
+ MSVC_REAL_YEAR="2019"
MSVC_DISPLAY_YEAR="2019"
BOOST_VER="1.71.0"
BOOST_VER_URL="1_71_0"
@@ -269,6 +276,7 @@ case $VS_VERSION in
MSVC_REAL_VER="15"
MSVC_VER="14.1"
MSVC_YEAR="2015"
+ MSVC_REAL_YEAR="2017"
MSVC_DISPLAY_YEAR="2017"
BOOST_VER="1.67.0"
BOOST_VER_URL="1_67_0"
@@ -281,6 +289,7 @@ case $VS_VERSION in
MSVC_REAL_VER="14"
MSVC_VER="14.0"
MSVC_YEAR="2015"
+ MSVC_REAL_YEAR="2015"
MSVC_DISPLAY_YEAR="2015"
BOOST_VER="1.67.0"
BOOST_VER_URL="1_67_0"
@@ -288,15 +297,8 @@ case $VS_VERSION in
;;
12|12.0|2013 )
- GENERATOR="Visual Studio 12 2013"
- TOOLSET="vc120"
- MSVC_REAL_VER="12"
- MSVC_VER="12.0"
- MSVC_YEAR="2013"
- MSVC_DISPLAY_YEAR="2013"
- BOOST_VER="1.58.0"
- BOOST_VER_URL="1_58_0"
- BOOST_VER_SDK="105800"
+ echo "Visual Studio 2013 is no longer supported"
+ exit 1
;;
esac
@@ -387,7 +389,7 @@ if [ -z $SKIP_DOWNLOAD ]; then
# Bullet
download "Bullet 2.86" \
- "https://www.lysator.liu.se/~ace/OpenMW/deps/Bullet-2.86-msvc${MSVC_YEAR}-win${BITS}.7z" \
+ "https://rgw.ctrl-c.liu.se/openmw/Deps/Bullet-2.86-msvc${MSVC_YEAR}-win${BITS}.7z" \
"Bullet-2.86-msvc${MSVC_YEAR}-win${BITS}.7z"
# FFmpeg
@@ -399,7 +401,7 @@ if [ -z $SKIP_DOWNLOAD ]; then
# MyGUI
download "MyGUI 3.2.2" \
- "https://www.lysator.liu.se/~ace/OpenMW/deps/MyGUI-3.2.2-msvc${MSVC_YEAR}-win${BITS}.7z" \
+ "https://rgw.ctrl-c.liu.se/openmw/Deps/MyGUI-3.2.2-msvc${MSVC_YEAR}-win${BITS}.7z" \
"MyGUI-3.2.2-msvc${MSVC_YEAR}-win${BITS}.7z"
# OpenAL
@@ -408,9 +410,15 @@ if [ -z $SKIP_DOWNLOAD ]; then
"OpenAL-Soft-1.19.1.zip"
# OSG
- download "OpenSceneGraph 3.4.1-scrawl" \
- "https://www.lysator.liu.se/~ace/OpenMW/deps/OSG-3.4.1-scrawl-msvc${MSVC_YEAR}-win${BITS}.7z" \
- "OSG-3.4.1-scrawl-msvc${MSVC_YEAR}-win${BITS}.7z"
+ download "OpenSceneGraph 3.4.2-experimental" \
+ "https://rgw.ctrl-c.liu.se/openmw/Deps/OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}.7z" \
+ "OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}.7z"
+
+ if [ -n "$PDBS" ]; then
+ download "OpenSceneGraph symbols" \
+ "https://rgw.ctrl-c.liu.se/openmw/Deps/OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}-sym.7z" \
+ "OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}-sym.7z"
+ fi
# Qt
if [ -z $APPVEYOR ]; then
@@ -608,19 +616,20 @@ printf "OpenAL-Soft 1.19.1... "
cd $DEPS
echo
# OSG
-printf "OSG 3.4.1-scrawl... "
+printf "OSG 3.4.2-experimental... "
{
cd $DEPS_INSTALL
if [ -d OSG ] && \
grep "OPENSCENEGRAPH_MAJOR_VERSION 3" OSG/include/osg/Version > /dev/null && \
grep "OPENSCENEGRAPH_MINOR_VERSION 4" OSG/include/osg/Version > /dev/null && \
- grep "OPENSCENEGRAPH_PATCH_VERSION 1" OSG/include/osg/Version > /dev/null
+ grep "OPENSCENEGRAPH_PATCH_VERSION 2" OSG/include/osg/Version > /dev/null
then
printf "Exists. "
elif [ -z $SKIP_EXTRACT ]; then
rm -rf OSG
- eval 7z x -y "${DEPS}/OSG-3.4.1-scrawl-msvc${MSVC_YEAR}-win${BITS}.7z" $STRIP
- mv "OSG-3.4.1-scrawl-msvc${MSVC_YEAR}-win${BITS}" OSG
+ eval 7z x -y "${DEPS}/OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}.7z" $STRIP
+ [ -n "$PDBS" ] && eval 7z x -y "${DEPS}/OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}-sym.7z" $STRIP
+ mv "OSG-3.4.2-experimental-msvc${MSVC_REAL_YEAR}-win${BITS}" OSG
fi
OSG_SDK="$(real_pwd)/OSG"
add_cmake_opts -DOSG_DIR="$OSG_SDK"
@@ -629,10 +638,10 @@ printf "OSG 3.4.1-scrawl... "
else
SUFFIX=""
fi
- add_runtime_dlls "$(pwd)/OSG/bin/"{OpenThreads,zlib,libpng*}${SUFFIX}.dll \
+ add_runtime_dlls "$(pwd)/OSG/bin/"{OpenThreads,zlib,libpng}${SUFFIX}.dll \
"$(pwd)/OSG/bin/osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll
- add_osg_dlls "$(pwd)/OSG/bin/osgPlugins-3.4.1/osgdb_"{bmp,dds,freetype,jpeg,osg,png,tga}${SUFFIX}.dll
- add_osg_dlls "$(pwd)/OSG/bin/osgPlugins-3.4.1/osgdb_serializers_osg"{,animation,fx,ga,particle,text,util,viewer,shadow}${SUFFIX}.dll
+ add_osg_dlls "$(pwd)/OSG/bin/osgPlugins-3.4.2/osgdb_"{bmp,dds,freetype,jpeg,osg,png,tga}${SUFFIX}.dll
+ add_osg_dlls "$(pwd)/OSG/bin/osgPlugins-3.4.2/osgdb_serializers_osg"{,animation,fx,ga,particle,text,util,viewer,shadow}${SUFFIX}.dll
echo Done.
}
cd $DEPS
@@ -817,10 +826,10 @@ fi
done
echo
echo "- OSG Plugin DLLs..."
- mkdir -p ${DLL_PREFIX}osgPlugins-3.4.1
+ mkdir -p ${DLL_PREFIX}osgPlugins-3.4.2
for DLL in $OSG_PLUGINS; do
echo " $(basename $DLL)."
- cp "$DLL" ${DLL_PREFIX}osgPlugins-3.4.1
+ cp "$DLL" ${DLL_PREFIX}osgPlugins-3.4.2
done
echo
echo "- Qt Platform DLLs..."