From d595a80abc8caabdfd427dfa77f94d8ea3ec921f Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:10:02 +0800 Subject: [PATCH] update prints --- .github/workflows/kcpp-build-release-win-full-cu12.yaml | 6 +++--- .github/workflows/kcpp-build-release-win-full.yaml | 6 +++--- .../workflows/kcpp-build-release-win-oldcpu-full.yaml | 9 +++++++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/kcpp-build-release-win-full-cu12.yaml b/.github/workflows/kcpp-build-release-win-full-cu12.yaml index 5e9838614..d8de3a729 100644 --- a/.github/workflows/kcpp-build-release-win-full-cu12.yaml +++ b/.github/workflows/kcpp-build-release-win-full-cu12.yaml @@ -36,9 +36,9 @@ jobs: - name: Print System Environment Variables id: printvars run: | - echo "Number of processors: $NUMBER_OF_PROCESSORS" - echo "Processor Architecture: $PROCESSOR_ARCHITECTURE" - echo "Computer Name: $COMPUTERNAME" + echo "Number of processors: ${env:NUMBER_OF_PROCESSORS}" + echo "Processor Architecture: ${env:PROCESSOR_ARCHITECTURE}" + echo "Computer Name: ${env:COMPUTERNAME}" wmic cpu get name wmic os get TotalVisibleMemorySize, FreePhysicalMemory diff --git a/.github/workflows/kcpp-build-release-win-full.yaml b/.github/workflows/kcpp-build-release-win-full.yaml index 7969177bc..33fc61317 100644 --- a/.github/workflows/kcpp-build-release-win-full.yaml +++ b/.github/workflows/kcpp-build-release-win-full.yaml @@ -36,9 +36,9 @@ jobs: - name: Print System Environment Variables id: printvars run: | - echo "Number of processors: $NUMBER_OF_PROCESSORS" - echo "Processor Architecture: $PROCESSOR_ARCHITECTURE" - echo "Computer Name: $COMPUTERNAME" + echo "Number of processors: ${env:NUMBER_OF_PROCESSORS}" + echo "Processor Architecture: ${env:PROCESSOR_ARCHITECTURE}" + echo "Computer Name: ${env:COMPUTERNAME}" wmic cpu get name wmic os get TotalVisibleMemorySize, FreePhysicalMemory diff --git a/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml b/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml index 928bc344a..69aec6f59 100644 --- a/.github/workflows/kcpp-build-release-win-oldcpu-full.yaml +++ b/.github/workflows/kcpp-build-release-win-oldcpu-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: ${env:NUMBER_OF_PROCESSORS}" + echo "Processor Architecture: ${env:PROCESSOR_ARCHITECTURE}" + echo "Computer Name: ${env:COMPUTERNAME}" + wmic cpu get name + wmic os get TotalVisibleMemorySize, FreePhysicalMemory + - name: Build Non-CUDA id: make_build run: |