Changes to create a debug build

This commit is contained in:
Automatic Release Builder
2020-05-25 09:35:19 +01:00
parent e34d02edbc
commit 3c8b783710
+1 -6
View File
@@ -22,7 +22,7 @@ echo "Build path is: $PATH"
# to be necessary all the same # to be necessary all the same
#export PKG_CONFIG_PATH=$WORKSPACE/dist/lib/pkgconfig #export PKG_CONFIG_PATH=$WORKSPACE/dist/lib/pkgconfig
cmakeCommonArgs="-G Ninja -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BUILD_TYPE=RelWithDebInfo" cmakeCommonArgs="-G Ninja -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DCMAKE_BUILD_TYPE=Debug"
############################################################################### ###############################################################################
echo "Starting on SimGear" echo "Starting on SimGear"
@@ -30,7 +30,6 @@ pushd sgBuild
cmake ${cmakeCommonArgs} ../simgear cmake ${cmakeCommonArgs} ../simgear
# compile # compile
cmake --build . --target debug_symbols
cmake --build . --target install cmake --build . --target install
if [ $? -ne '0' ]; then if [ $? -ne '0' ]; then
@@ -52,7 +51,6 @@ fi
cmake -DFG_BUILD_TYPE=$FGBUILDTYPE -DENABLE_SWIFT:BOOL=ON ${cmakeCommonArgs} ../flightgear cmake -DFG_BUILD_TYPE=$FGBUILDTYPE -DENABLE_SWIFT:BOOL=ON ${cmakeCommonArgs} ../flightgear
cmake --build . --target debug_symbols
cmake --build . --target install cmake --build . --target install
if [ $? -ne '0' ]; then if [ $? -ne '0' ]; then
@@ -64,9 +62,6 @@ popd
chmod +x $WORKSPACE/dist/bin/osgversion chmod +x $WORKSPACE/dist/bin/osgversion
echo "Running symbol upload script"
./sentry-dSYM-upload-mac.sh
################################################################################ ################################################################################
# run the unlock script now - we need to do this right before code-signing, # run the unlock script now - we need to do this right before code-signing,