Evan's Blog
EvanZhu0721 / 公开仓库

SBMS

镜像已同步

SBMS complete the calculation rules for the default logical desktop topology relationship and the physical dimensions of the displays in the Windows multi-screen collaboration system.

上游 GitHub
READ-ONLY MIRROR

README、源码与 Release 已保存到本站;源码视图固定到 commit bd87fa1e。

main/ root / .github/workflows
bd87fa1e· 固定源码快照
.github/workflows/ci.yml1.8 KB
1name: CI
2
3on:
4 push:
5 pull_request:
6
7permissions:
8 contents: read
9
10env:
11 CARGO_TERM_COLOR: always
12
13jobs:
14 windows:
15 runs-on: windows-2022
16 timeout-minutes: 40
17 steps:
18 - uses: actions/checkout@v6
19
20 - name: Show pinned Rust toolchain
21 shell: pwsh
22 run: |
23 rustup show active-toolchain
24 rustc --version --verbose
25 cargo --version
26
27 - name: Rust formatting
28 run: cargo fmt --all -- --check
29
30 - name: Rust lint
31 run: cargo clippy --all-targets --locked -- -D warnings
32
33 - name: Rust tests
34 run: cargo test --all-targets --locked
35
36 - name: Install compatible Pester for PowerShell 7
37 shell: pwsh
38 run: |
39 Install-Module Pester -RequiredVersion 4.10.1 -Scope CurrentUser -Force -SkipPublisherCheck
40
41 - name: PowerShell 7 tests
42 shell: pwsh
43 run: .\.github\scripts\invoke-pester.ps1
44
45 - name: Windows PowerShell 5.1 tests
46 shell: powershell
47 run: |
48 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
49 Install-Module Pester -RequiredVersion 4.10.1 -Scope CurrentUser -Force -SkipPublisherCheck
50 .\.github\scripts\invoke-pester.ps1
51
52 - name: Install Inno Setup for packaging smoke
53 shell: pwsh
54 run: choco install innosetup --no-progress -y
55
56 - name: Unsigned driver and installer build smoke
57 shell: pwsh
58 run: |
59 $compiler = (Get-Command ISCC.exe -ErrorAction Stop).Source
60 .\build-installer.ps1 -Unsigned -InnoCompiler $compiler
61 $package = Get-Item '.\target\installer\SBMS-Setup-*-x64-unsigned.exe'
62 $hashFile = Get-Item "$($package.FullName).sha256"
63 if ($package.Length -eq 0 -or $hashFile.Length -eq 0) {
64 throw 'Unsigned installer smoke artifact is empty.'
65 }
66