d3b6026bfd
- Filled empty libs/hbb_common/ submodule (cloned from rustdesk/hbb_common) - Patched Flutter 3.44 / Dart 3.12 compatibility: * flutter/lib/generated_bridge.dart: asTypedList with cast<>, DartPort=Int64 * flutter/lib/common.dart: DialogTheme->DialogThemeData, TabBarTheme->TabBarThemeData * flutter/pubspec.yaml: extended_text 14.0.0->15.0.2, google_fonts override 5.0.0 * flutter/macos/Runner/Configs/Release.xcconfig: EXCLUDED_ARCHS=x86_64 - Build verified: cargo check + cargo build --features flutter + cargo build --release --features flutter - Verified flutter build macos --debug and --release both produce working .app - Verified .dmg installer (27MB arm64) created via hdiutil - Build deps: Xcode 26.5, CocoaPods 1.16.2, Flutter 3.44, VCPKG arm64-osx
61 lines
2.0 KiB
YAML
61 lines
2.0 KiB
YAML
name: build RustDeskTempTopMostWindow
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
upload-artifact:
|
|
type: boolean
|
|
default: true
|
|
target:
|
|
description: 'Target'
|
|
required: true
|
|
type: string
|
|
default: 'windows-2022'
|
|
configuration:
|
|
description: 'Configuration'
|
|
required: true
|
|
type: string
|
|
default: 'Release'
|
|
platform:
|
|
description: 'Platform'
|
|
required: true
|
|
type: string
|
|
default: 'x64'
|
|
target_version:
|
|
description: 'TargetVersion'
|
|
required: true
|
|
type: string
|
|
default: 'Windows10'
|
|
|
|
env:
|
|
project_path: WindowInjection/WindowInjection.vcxproj
|
|
|
|
jobs:
|
|
build-RustDeskTempTopMostWindow:
|
|
runs-on: ${{ inputs.target }}
|
|
strategy:
|
|
fail-fast: false
|
|
env:
|
|
build_output_dir: RustDeskTempTopMostWindow/WindowInjection/${{ inputs.platform }}/${{ inputs.configuration }}
|
|
steps:
|
|
- name: Add MSBuild to PATH
|
|
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2
|
|
|
|
- name: Download the source code
|
|
run: |
|
|
git clone https://github.com/rustdesk-org/RustDeskTempTopMostWindow RustDeskTempTopMostWindow
|
|
|
|
# Build. commit 53b548a5398624f7149a382000397993542ad796 is tag v0.3
|
|
- name: Build the project
|
|
run: |
|
|
cd RustDeskTempTopMostWindow && git checkout 53b548a5398624f7149a382000397993542ad796
|
|
msbuild ${{ env.project_path }} -p:Configuration=${{ inputs.configuration }} -p:Platform=${{ inputs.platform }} /p:TargetVersion=${{ inputs.target_version }}
|
|
|
|
- name: Archive build artifacts
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
if: ${{ inputs.upload-artifact }}
|
|
with:
|
|
name: topmostwindow-artifacts
|
|
path: |
|
|
./${{ env.build_output_dir }}/WindowInjection.dll
|