You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Also build ARM64 image for Transcribe
This commit is contained in:
6
.github/scripts/run_ci.sh
vendored
6
.github/scripts/run_ci.sh
vendored
@@ -49,16 +49,18 @@ DOCKER_IMAGE_PLATFORM="linux/amd64"
|
|||||||
# a release
|
# a release
|
||||||
RUN_TESTS=0
|
RUN_TESTS=0
|
||||||
|
|
||||||
if [ "$IS_SERVER_RELEASE" = 0 ] && [ "$IS_DESKTOP_RELEASE" = 0 ]; then
|
if [ "$IS_SERVER_RELEASE" = 0 ] && [ "$IS_DESKTOP_RELEASE" = 0 ] && [ "$IS_TRANSCRIBE_RELEASE" = 0 ]; then
|
||||||
RUN_TESTS=1
|
RUN_TESTS=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RUNNER_ARCH" == "ARM64" ] && [ "$IS_SERVER_RELEASE" == "0" ]; then
|
if [ "$RUNNER_ARCH" == "ARM64" ]; then
|
||||||
|
if [ "$IS_SERVER_RELEASE" == "0" ] && [ "$IS_TRANSCRIBE_RELEASE" == "0" ]; then
|
||||||
# We exit now because nothing works properly with the ARM64 architecture.
|
# We exit now because nothing works properly with the ARM64 architecture.
|
||||||
# We only proceed if building the server image.
|
# We only proceed if building the server image.
|
||||||
echo "Running on ARM64 and not trying to build server image - early exit"
|
echo "Running on ARM64 and not trying to build server image - early exit"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$RUNNER_ARCH" == "ARM64" ]; then
|
if [ "$RUNNER_ARCH" == "ARM64" ]; then
|
||||||
# Canvas is only needed for tests and it doesn't build in ARM64 so remove it
|
# Canvas is only needed for tests and it doesn't build in ARM64 so remove it
|
||||||
|
Reference in New Issue
Block a user