mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
789b3adb46
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
name: Agentic RDP
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
inputs:
|
|
desktop_size:
|
|
description: RDP desktop size requested through ironrdp-agent
|
|
required: true
|
|
default: 1920x1080
|
|
|
|
env:
|
|
CARGO_INCREMENTAL: 0
|
|
CARGO_NET_RETRY: 10
|
|
RUSTUP_MAX_RETRIES: 10
|
|
RUST_BACKTRACE: short
|
|
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
|
CARGO_PROFILE_DEV_DEBUG: 0
|
|
|
|
jobs:
|
|
localhost-rdp:
|
|
name: Localhost RDP automation
|
|
runs-on: windows-latest
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Rust cache
|
|
uses: Swatinem/rust-cache@v2.9.1
|
|
|
|
- name: Build ironrdp-agent
|
|
run: cargo build -p ironrdp-agent --release
|
|
|
|
- name: Run agentic RDP scenario
|
|
shell: pwsh
|
|
run: |
|
|
$desktopSize = '${{ github.event.inputs.desktop_size }}'
|
|
if ([string]::IsNullOrWhiteSpace($desktopSize)) {
|
|
$desktopSize = '1920x1080'
|
|
}
|
|
|
|
.\testing\agentic-rdp\Invoke-AgenticRdpTest.ps1 `
|
|
-DesktopSize $desktopSize `
|
|
-ArtifactsDir (Join-Path $env:GITHUB_WORKSPACE 'artifacts\agentic-rdp')
|
|
|
|
- name: Upload screenshots
|
|
if: ${{ always() }}
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: agentic-rdp-screenshots
|
|
path: artifacts\agentic-rdp\*.png
|
|
if-no-files-found: warn
|
|
|
|
- name: Upload logs and metadata
|
|
if: ${{ always() }}
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: agentic-rdp-logs
|
|
path: artifacts\agentic-rdp
|
|
if-no-files-found: warn
|