Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix CLI release builds on Windows and Linux ARM64

Manav Rathib87fa7ac0acd
diff --git a/.github/workflows/ente-cli-release.yml b/.github/workflows/ente-cli-release.yml
index 3e1e62d08b..d2652a9fba 100644
--- a/.github/workflows/ente-cli-release.yml
+++ b/.github/workflows/ente-cli-release.yml
@@ -30,6 +30,7 @@ jobs:
env:
TARGET: ${{ matrix.target }}
SUFFIX: ${{ matrix.suffix }}
+ CFLAGS_aarch64_unknown_linux_musl: -mno-outline-atomics
outputs:
version: ${{ steps.build.outputs.version }}
steps:
@@ -50,6 +51,7 @@ jobs:
features=()
binary=ente
if [[ "$RUNNER_OS" = Windows ]]; then
+ export OPENSSL_SRC_PERL="C:/Strawberry/perl/bin/perl.exe"
target_env=$(printf '%s' "$TARGET" | tr '[:lower:]-' '[:upper:]_')
export "CARGO_TARGET_${target_env}_RUSTFLAGS=-C target-feature=+crt-static"
binary=ente.exe