Skip to content

Commit

Permalink
ci: push latest master macOS builds to continous prerelease
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Suciu <[email protected]>
  • Loading branch information
adisuciu committed Apr 26, 2021
1 parent a096fbc commit 00caa53
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CI/appveyor/install_macos_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ BOOST_VERSION=1.73.0
LIBTINYIIOD_BRANCH=master

PYTHON="python3"
PACKAGES="${QT_FORMULAE} pkg-config cmake fftw bison gettext autoconf automake libtool libzip glib libusb glog $PYTHON"
PACKAGES="$PACKAGES doxygen wget gnu-sed libmatio dylibbundler libxml2"
PACKAGES=" ${QT_FORMULAE} pkg-config cmake fftw bison gettext autoconf automake libtool libzip glib libusb glog $PYTHON"
PACKAGES="$PACKAGES doxygen wget gnu-sed libmatio dylibbundler libxml2 ghr"

set -e
cd ~
Expand Down Expand Up @@ -259,14 +259,14 @@ patch_qwtpolar_mac() {
+++ b/qwtpolarconfig.pri
@@ -16,7 +16,9 @@ QWT_POLAR_VER_PAT = 1
QWT_POLAR_VERSION = \$\${QWT_POLAR_VER_MAJ}.\$\${QWT_POLAR_VER_MIN}.\$\${QWT_POLAR_VER_PAT}
unix {
- QWT_POLAR_INSTALL_PREFIX = /usr/local/qwtpolar-\$\$QWT_POLAR_VERSION
+ QWT_POLAR_INSTALL_PREFIX = $STAGINGDIR
+ QMAKE_CXXFLAGS = -I${STAGINGDIR}/include
+ QMAKE_LFLAGS = ${STAGINGDIR}/lib/libqwt*dylib
}
win32 {
EOF
}
Expand Down
11 changes: 11 additions & 0 deletions CI/appveyor/package_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,14 @@ sudo python /tmp/macdeployqtfix.py ./Scopy.app/Contents/MacOS/Scopy ./Scopy.app/

sudo macdeployqt Scopy.app -dmg
ls

UPLOAD_TOOL=ghr

if [ "$APPVEYOR_REPO_BRANCH" = "master" ]; then
echo Identified master branch
if [ -z "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
echo Not a pull request
$UPLOAD_TOOL -u $APPVEYOR_ACCOUNT_NAME -r $APPVEYOR_PROJECT_NAME -name "Continuous build" -b "Latest succesful master build " -prerelease -debug -replace continous $DEPLOY_FILE
fi
fi

0 comments on commit 00caa53

Please sign in to comment.