File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 if (-not $qtPrefix) {
6464 throw "Qt prefix was not found."
6565 }
66- cmake -S . -B build/release -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$qtPrefix"
66+ $buildType = if ($env:RUNNER_OS -eq "Windows") { "MinSizeRel" } else { "Release" }
67+ cmake -S . -B build/release -G Ninja -DCMAKE_BUILD_TYPE="$buildType" -DCMAKE_PREFIX_PATH="$qtPrefix"
6768
6869 - name : Build
6970 run : cmake --build build/release --parallel
8687 exit 1
8788 fi
8889 cp "$binary_target" "$package_root/"
89- windeployqt --release --no-translations --no-system-d3d-compiler --no-opengl-sw "$package_root/FluentSerialAssistant.exe"
90+ windeployqt \
91+ --release \
92+ --no-translations \
93+ --no-system-d3d-compiler \
94+ --no-system-dxc-compiler \
95+ --no-compiler-runtime \
96+ --no-opengl-sw \
97+ --no-ffmpeg \
98+ --skip-plugin-types generic,tls,networkinformation,styles \
99+ --exclude-plugins qgif,qjpeg,qico \
100+ "$package_root/FluentSerialAssistant.exe"
101+ rm -f "$package_root"/vc_redist.*.exe
90102 elif [ "${{ runner.os }}" = "macOS" ]; then
91103 app_target="$(find build/release -maxdepth 6 -type d -name 'FluentSerialAssistant.app' | head -n 1 || true)"
92104 if [ -z "$app_target" ]; then
You can’t perform that action at this time.
0 commit comments