Skip to content

Commit

Permalink
make buildserver-build.sh backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 9, 2024
1 parent 7e2c333 commit b7b41dd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/buildserver-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ function build_ref {
build_args+=(--universal --notarize)
fi
if [[ "$(uname -s)" == "MINGW"* ]]; then
build_args+=(--universal)
if [[ -d "$BUILD_DIR/windows-installer" ]]; then
# build universal build if supported
build_args+=(--universal)
fi
fi

artifact_dir=$artifact_dir build "${build_args[@]}" || return 1
Expand All @@ -208,6 +211,11 @@ function build_ref {

case "$(uname -s)" in
MINGW*|MSYS_NT*)
if [[ ! -d "$BUILD_DIR/windows-installer" ]]; then
echo "Building ARM64 installers"
target=aarch64-pc-windows-msvc artifact_dir=$artifact_dir build "${build_args[@]}" || return 1
fi

echo "Packaging all PDB files..."
find ./windows/ \
./target/release/mullvad-daemon.pdb \
Expand Down

0 comments on commit b7b41dd

Please sign in to comment.