mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Add build script for nheko.dmg
This commit is contained in:
parent
1e166eea1a
commit
a6d246b43a
3 changed files with 17 additions and 1 deletions
|
@ -16,3 +16,6 @@ unset LD_LIBRARY_PATH
|
||||||
|
|
||||||
./linuxdeployqt*.AppImage ./appdir/*.desktop -bundle-non-qt-libs
|
./linuxdeployqt*.AppImage ./appdir/*.desktop -bundle-non-qt-libs
|
||||||
./linuxdeployqt*.AppImage ./appdir/*.desktop -appimage
|
./linuxdeployqt*.AppImage ./appdir/*.desktop -appimage
|
||||||
|
|
||||||
|
export ARTIFACT=nheko-x86_64.AppImage
|
||||||
|
chmod +x $ARTIFACT
|
||||||
|
|
12
.ci/macos/deploy.sh
Executable file
12
.ci/macos/deploy.sh
Executable file
|
@ -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
|
|
@ -26,6 +26,7 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- make -C build -j2
|
- make -C build -j2
|
||||||
- if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi
|
- if [ $TRAVIS_OS_NAME == osx ]; then make lint; fi
|
||||||
|
- if [ $TRAVIS_OS_NAME == osx ]; then ./.ci/macos/deploy.sh; fi
|
||||||
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/run-tests.sh; fi
|
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/run-tests.sh; fi
|
||||||
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/deploy.sh; fi
|
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci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V8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
|
||||||
file: nheko-x86_64.AppImage
|
file: $ARTIFACT
|
||||||
on:
|
on:
|
||||||
repo: mujx/nheko
|
repo: mujx/nheko
|
||||||
tags: true
|
tags: true
|
||||||
|
|
Loading…
Reference in a new issue