-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,38 @@ | ||
name: 'System Information' | ||
description: 'Information about the system (CPU, RAM, HDD)' | ||
description: 'Information about the system and tools' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- if: runner.os == 'Linux' | ||
run: | | ||
echo "Display information about the CPU architecture" | ||
lscpu | ||
echo "Display amount of free and used memory in the system:" | ||
free -h | ||
echo "Report file system disk space usage:" | ||
df -h | ||
shell: bash | ||
- if: runner.os == 'macOS' | ||
run: | | ||
echo "Display information about the CPU architecture" | ||
sytem_profiler SPHardwarecDataType | ||
echo "Report file system disk space usage:" | ||
df -h | ||
echo "System: ${{ runner.os }}" | ||
echo "System Architecture: ${{ runner.arch }}" | ||
echo "Python version: $(python3 --version)" | ||
echo "gcc info: $(which gcc), Version: $(gcc --version)" | ||
echo "cmake info: $(which cmake), Version: $(cmake --version)" | ||
echo "CPU Info: "; lscpu | ||
echo "RAM Info: "; free -h --si | ||
echo "MEMORY Info: "; df -h | ||
- if: runner.os == 'macOS' | ||
shell: bash | ||
run: | | ||
echo "System: ${{ runner.os }}" | ||
echo "System Architecture: ${{ runner.arch }}" | ||
echo "Python version: $(python3 --version)" | ||
echo "gcc info: $(which gcc), Version: $(gcc --version)" | ||
echo "cmake info: $(which cmake), Version: $(cmake --version)" | ||
echo "CPU and RAM Info: "; system_profiler SPHardwareDataType | ||
echo "MEMORY Info: "; df -h | ||
- if: runner.os == 'Windows' | ||
shell: pwsh | ||
run: | | ||
systeminfo | findstr /C:”Memory” | ||
shell: bash | ||
echo "System: ${{ runner.os }}" | ||
echo "System Architecture: ${{ runner.arch }}" | ||
echo "Python version: $(python3 --version)" | ||
echo "gcc version: $(gcc --version)" | ||
echo "cmake version: $(cmake --version)" | ||
echo "CPU Info: "; Get-WmiObject Win32_Processor | ||
echo "RAM info: $(systeminfo | Select-String 'Total Physical Memory:')" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check System Info | ||
on: | ||
pull_request: | ||
paths: | ||
- '**' | ||
- '!**/docs/**' | ||
- '!docs/**' | ||
- 'docs/snippets/**' | ||
- '!**/**.md' | ||
- '!**.md' | ||
|
||
jobs: | ||
Check: | ||
timeout-minutes: 5 | ||
defaults: | ||
run: | ||
shell: bash | ||
strategy: | ||
max-parallel: 3 | ||
fail-fast: false | ||
matrix: | ||
machine: [aks-linux-8-cores, ubuntu-latest, windows-latest] | ||
runs-on: ${{ matrix.machine }} | ||
|
||
steps: | ||
- name: Clone OpenVINO | ||
uses: actions/checkout@v4 | ||
with: | ||
path: 'openvino' | ||
|
||
# | ||
# Print system info | ||
# | ||
|
||
- name: System info | ||
uses: ./.github/actions/system_info |
This file contains 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