|
|
@ -14,7 +14,7 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then |
|
|
|
echo "cirrus build id: ${TRIGGER_BUILD_ID}" |
|
|
|
echo "cirrus build id: ${TRIGGER_BUILD_ID}" |
|
|
|
cat "${TRIGGER_PAYLOAD}" |
|
|
|
cat "${TRIGGER_PAYLOAD}" |
|
|
|
# download the build artifacts from cirrus api |
|
|
|
# download the build artifacts from cirrus api |
|
|
|
wget "https://api.cirrus-ci.com/v1/artifact/build/${TRIGGER_BUILD_ID}/binaries.zip" |
|
|
|
curl "https://api.cirrus-ci.com/v1/artifact/build/${TRIGGER_BUILD_ID}/binaries.zip" -o binaries.zip |
|
|
|
# cirrus ci artifacts task name is 'binaries' so that's the zip name. |
|
|
|
# cirrus ci artifacts task name is 'binaries' so that's the zip name. |
|
|
|
unzip binaries.zip |
|
|
|
unzip binaries.zip |
|
|
|
# we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory |
|
|
|
# we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory |
|
|
@ -24,6 +24,11 @@ if [ "${CI_PIPELINE_TRIGGERED}" ]; then |
|
|
|
rm -r build/build |
|
|
|
rm -r build/build |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d "build/nheko.app" ]; then |
|
|
|
|
|
|
|
echo "nheko.app is missing, you did something wrong!" |
|
|
|
|
|
|
|
exit 1 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
( cd build || exit |
|
|
|
( cd build || exit |
|
|
|
# macdeployqt does not copy symlinks over. |
|
|
|
# macdeployqt does not copy symlinks over. |
|
|
|
# this specifically addresses icu4c issues but nothing else. |
|
|
|
# this specifically addresses icu4c issues but nothing else. |
|
|
|