mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Travis-ci macOS builds - avoid hungup
[skip AppVeyor] Running GoldenCheetah from the mounted dmg doesn't terminate soon enough, lets avoid this for better diagnosis. [publish binaries]
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
set -ev
|
||||
cd src
|
||||
echo "Checking GoldenCheetah.app can execute"
|
||||
GoldenCheetah.app/Contents/MacOS/GoldenCheetah --version
|
||||
GoldenCheetah.app/Contents/MacOS/GoldenCheetah --version 2>GCversionMacOS.txt
|
||||
cat GCversionMacOS.txt
|
||||
|
||||
echo "About to create dmg file and fix up"
|
||||
mkdir GoldenCheetah.app/Contents/Frameworks
|
||||
@@ -57,9 +58,10 @@ export FINAL_NAME=GoldenCheetah_v3.6-DEV_x64.dmg
|
||||
mv GoldenCheetah.dmg $FINAL_NAME
|
||||
ls -l $FINAL_NAME
|
||||
|
||||
echo "Mounting dmg file and testing it can execute"
|
||||
hdiutil mount $FINAL_NAME
|
||||
/Volumes/GoldenCheetah/GoldenCheetah.app/Contents/MacOS/GoldenCheetah --version 2>GCversionMacOS.txt
|
||||
#echo "Mounting dmg file and testing it can execute"
|
||||
#hdiutil mount $FINAL_NAME
|
||||
#/Volumes/GoldenCheetah/GoldenCheetah.app/Contents/MacOS/GoldenCheetah --version 2>GCversionMacOS.txt
|
||||
# Add last commit message and SHA256 to txt file
|
||||
git log -1 >> GCversionMacOS.txt
|
||||
echo "SHA256 hash of $FINAL_NAME:" >> GCversionMacOS.txt
|
||||
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionMacOS.txt
|
||||
|
||||
Reference in New Issue
Block a user