Repository navigation
X-Plane skips the mounted package when streaming is started from the setup wizard ("Start OrthoStreamXP now") #14 #24
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Every pull request: build, then run the tests, the real WinFsp mount with synthetic imagery among them. | |
| name: CI | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| # WinFsp with its Developer part: the build references its .NET API (bin\winfsp-msil.dll), which a default | |
| # install (choco's too) leaves out. The same version as the developers' PCs; the smoke test mounts with it. | |
| # The installer is cached so a GitHub release-download hiccup (504s happen) doesn't fail the run; a cache miss retries. | |
| - name: Cache the WinFsp installer | |
| uses: actions/cache@v4 | |
| with: | |
| path: winfsp.msi | |
| key: winfsp-2.1.25156 | |
| - name: Install WinFsp | |
| shell: pwsh | |
| run: | | |
| if (-not (Test-Path winfsp.msi)) { | |
| Invoke-WebRequest https://github.com/winfsp/winfsp/releases/download/v2.1/winfsp-2.1.25156.msi -OutFile winfsp.msi -MaximumRetryCount 5 -RetryIntervalSec 15 | |
| } | |
| Start-Process msiexec.exe -ArgumentList '/i', 'winfsp.msi', '/qn', 'ADDLOCAL=F.Main,F.User,F.Developer' -Wait | |
| if (-not (Test-Path "${env:ProgramFiles(x86)}\WinFsp\bin\winfsp-msil.dll")) { throw "WinFsp's .NET API (winfsp-msil.dll) was not installed" } | |
| - name: Build | |
| run: dotnet build OrthoStreamXP.slnx -c Release | |
| - name: Test | |
| run: dotnet test --solution OrthoStreamXP.slnx -c Release --no-build |