mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Tools: Fixed building macOS app on CI
This commit is contained in:
parent
e9514e742b
commit
e3de158d18
12
.github/scripts/run_ci.sh
vendored
12
.github/scripts/run_ci.sh
vendored
@ -19,12 +19,6 @@ if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
|
|||||||
IS_PULL_REQUEST=1
|
IS_PULL_REQUEST=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# In some case it might not be possible to detect if we're on a pull request, for example when
|
|
||||||
# pushing new code to an existing code (or maybe when pressing "Update branch" from GitHub). In that
|
|
||||||
# case "GITHUB_EVENT_NAME" is "push" it's not clear what else could be checked. It seems safe to
|
|
||||||
# always run the checks anyway so we do this for now.
|
|
||||||
IS_PULL_REQUEST=1
|
|
||||||
|
|
||||||
if [[ $GIT_TAG_NAME = $SERVER_TAG_PREFIX-* ]]; then
|
if [[ $GIT_TAG_NAME = $SERVER_TAG_PREFIX-* ]]; then
|
||||||
IS_SERVER_RELEASE=1
|
IS_SERVER_RELEASE=1
|
||||||
fi
|
fi
|
||||||
@ -147,7 +141,6 @@ fi
|
|||||||
# for Linux only is sufficient.
|
# for Linux only is sufficient.
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|
||||||
if [ "$IS_LINUX" == "1" ]; then
|
if [ "$IS_LINUX" == "1" ]; then
|
||||||
echo "Step: Validating translations..."
|
echo "Step: Validating translations..."
|
||||||
|
|
||||||
@ -157,7 +150,6 @@ if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|||||||
exit $testResult
|
exit $testResult
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Check that we didn't lose any string due to gettext not being able to parse
|
# Check that we didn't lose any string due to gettext not being able to parse
|
||||||
@ -185,7 +177,6 @@ fi
|
|||||||
# See coding_style.md
|
# See coding_style.md
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|
||||||
if [ "$IS_LINUX" == "1" ]; then
|
if [ "$IS_LINUX" == "1" ]; then
|
||||||
echo "Step: Checking for files that should have been ignored..."
|
echo "Step: Checking for files that should have been ignored..."
|
||||||
|
|
||||||
@ -195,7 +186,6 @@ if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|||||||
exit $testResult
|
exit $testResult
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Check that the website still builds
|
# Check that the website still builds
|
||||||
@ -219,7 +209,6 @@ fi
|
|||||||
# Spellchecking
|
# Spellchecking
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|
||||||
if [ "$IS_LINUX" == "1" ]; then
|
if [ "$IS_LINUX" == "1" ]; then
|
||||||
echo "Step: Spellchecking..."
|
echo "Step: Spellchecking..."
|
||||||
|
|
||||||
@ -229,7 +218,6 @@ if [ "$IS_PULL_REQUEST" == "1" ]; then
|
|||||||
exit $testResult
|
exit $testResult
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Find out if we should run the build or not. Electron-builder gets stuck when
|
# Find out if we should run the build or not. Electron-builder gets stuck when
|
||||||
|
Loading…
Reference in New Issue
Block a user