summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-05 19:14:52 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-05 19:14:52 +0200
commita6d246b43a4b345fb756c976d8228dd206864860 (patch)
treed264e106ac486c0755a0fce3a916be79d608fa16 /.ci
parentRemove auto tagging (diff)
downloadnheko-a6d246b43a4b345fb756c976d8228dd206864860.tar.xz
Add build script for nheko.dmg
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/linux/deploy.sh3
-rwxr-xr-x.ci/macos/deploy.sh12
2 files changed, 15 insertions, 0 deletions
diff --git a/.ci/linux/deploy.sh b/.ci/linux/deploy.sh
index 8d377e21..6a4fb6be 100755
--- a/.ci/linux/deploy.sh
+++ b/.ci/linux/deploy.sh
@@ -16,3 +16,6 @@ unset LD_LIBRARY_PATH
 
 ./linuxdeployqt*.AppImage ./appdir/*.desktop -bundle-non-qt-libs
 ./linuxdeployqt*.AppImage ./appdir/*.desktop -appimage
+
+export ARTIFACT=nheko-x86_64.AppImage
+chmod +x $ARTIFACT
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh
new file mode 100755
index 00000000..01d99586
--- /dev/null
+++ b/.ci/macos/deploy.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -e
+
+make app
+
+sudo macdeployqt dist/MacOS/Nheko.app -dmg
+user=$(id -nu)
+sudo chown ${user} dist/MacOS/Nheko.dmg
+mv dist/MacOS/Nheko.dmg .
+
+export ARTIFACT=Nheko.dmg