Skip to content

Commit

Permalink
fixup: fix ci script feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Dec 9, 2024
1 parent a94cb0e commit f90d96b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ci/buildserver-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,10 @@ function build_ref {
build_args+=(--universal --notarize)
fi
if [[ "$(uname -s)" == "MINGW"* ]]; then
# Check if the windows-installer crate is present, and if so, build a universal installer
# The check is needed for compatibility with older commits that don't have the crate/flag
if [[ -d "$BUILD_DIR/windows-installer" ]]; then
# build universal build if supported
# Build universal build if supported.
build_args+=(--universal)
fi
fi
Expand All @@ -211,11 +213,6 @@ 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 f90d96b

Please sign in to comment.