From 4ae06b4a646913e7f898a2e0f287cfd9fa59fa1d Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 1 Nov 2024 23:58:41 +0800 Subject: [PATCH] print some env vars for win ci --- .github/workflows/kcpp-build-release-win-full-cu12.yaml | 9 +++++++++ .github/workflows/kcpp-build-release-win-full.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/kcpp-build-release-win-full-cu12.yaml b/.github/workflows/kcpp-build-release-win-full-cu12.yaml index 09ba45dfa..5e9838614 100644 --- a/.github/workflows/kcpp-build-release-win-full-cu12.yaml +++ b/.github/workflows/kcpp-build-release-win-full-cu12.yaml @@ -33,6 +33,15 @@ jobs: run: | echo "$(Get-Location)\w64devkit\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 + - name: Print System Environment Variables + id: printvars + run: | + echo "Number of processors: $NUMBER_OF_PROCESSORS" + echo "Processor Architecture: $PROCESSOR_ARCHITECTURE" + echo "Computer Name: $COMPUTERNAME" + wmic cpu get name + wmic os get TotalVisibleMemorySize, FreePhysicalMemory + - name: Build Non-CUDA id: make_build run: | diff --git a/.github/workflows/kcpp-build-release-win-full.yaml b/.github/workflows/kcpp-build-release-win-full.yaml index c26bb4751..7969177bc 100644 --- a/.github/workflows/kcpp-build-release-win-full.yaml +++ b/.github/workflows/kcpp-build-release-win-full.yaml @@ -33,6 +33,15 @@ jobs: run: | echo "$(Get-Location)\w64devkit\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 + - name: Print System Environment Variables + id: printvars + run: | + echo "Number of processors: $NUMBER_OF_PROCESSORS" + echo "Processor Architecture: $PROCESSOR_ARCHITECTURE" + echo "Computer Name: $COMPUTERNAME" + wmic cpu get name + wmic os get TotalVisibleMemorySize, FreePhysicalMemory + - name: Build Non-CUDA id: make_build run: |