From 3924df4246f8fe9c180b1fffe681c5257a640266 Mon Sep 17 00:00:00 2001 From: foxyz Date: Wed, 7 Oct 2026 21:42:47 +0300 Subject: [PATCH] probe windows runner --- .gitea/workflows/probe.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/probe.yml diff --git a/.gitea/workflows/probe.yml b/.gitea/workflows/probe.yml new file mode 100644 index 0000000..673cd36 --- /dev/null +++ b/.gitea/workflows/probe.yml @@ -0,0 +1,16 @@ +name: probe-windows +on: push +jobs: + probe: + runs-on: windows-latest + steps: + - run: | + $PSVersionTable.PSVersion + whoami; hostname; Get-Location + [Environment]::OSVersion + foreach ($c in 'git','bash','pwsh','powershell','python','python3','curl','tar','7z','cmake','ninja','flutter','dart','node','cl','msbuild') { $p = Get-Command $c -ErrorAction SilentlyContinue; "{0,-12} {1}" -f $c, ($p.Source) } + $vw = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" + if (Test-Path $vw) { & $vw -all -products * -format text | Select-String 'displayName|installationPath|installationVersion' } else { 'no vswhere' } + Get-PSDrive -PSProvider FileSystem | Select-Object Name,Free + "PATH=$env:PATH" + shell: powershell