Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] [GHA] Add system information print action #20710

Merged
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4599520
added action
mryzhov Oct 24, 2023
dbf499c
test action
mryzhov Oct 24, 2023
2a55b09
fixed typo
mryzhov Oct 24, 2023
cf5860a
move action to test flow
mryzhov Oct 24, 2023
ff4b59a
fixed pipeline
mryzhov Oct 24, 2023
8abaa9f
changed description
mryzhov Oct 24, 2023
5a76b70
add action to common pipeline
mryzhov Oct 24, 2023
b75ec3f
changed actions path
mryzhov Oct 24, 2023
446cb19
use bash syntax
mryzhov Oct 24, 2023
ea7e348
path
mryzhov Oct 24, 2023
c5f242b
fix
mryzhov Oct 24, 2023
d77cd39
reordered
mryzhov Oct 24, 2023
f5e37d6
Merge branch 'master' into github_actions/system_info
mryzhov Oct 24, 2023
403cf1e
update
mryzhov Oct 24, 2023
ad7ed86
revert unused changes
mryzhov Oct 24, 2023
bff8ac2
update path
mryzhov Oct 24, 2023
717b23c
Revert "update path"
mryzhov Oct 24, 2023
4f6f2cd
mac and win
mryzhov Oct 25, 2023
5aaf69b
Merge commit '5a1b13a069a1ddd53ad0621afa3ff6e16e0f8293' into ci/gha/a…
akashchi Oct 26, 2023
1c57938
print system info
akashchi Oct 26, 2023
f17383b
correct pathg
akashchi Oct 26, 2023
0c48b93
use relative path
akashchi Oct 26, 2023
5bde5d6
run mac
akashchi Oct 26, 2023
ad56c9e
add print sysinfo step, enable triggers
akashchi Oct 26, 2023
126f56a
use win agnostic func
akashchi Oct 26, 2023
c246df8
rm triggers
akashchi Oct 26, 2023
e3cd9cb
mv sysinfo check after checkouts; rm tools versions info printing
akashchi Oct 26, 2023
5169359
correct desc
akashchi Oct 26, 2023
4b90cf7
add sysinfo dep for fedora
akashchi Oct 26, 2023
6ac2e50
mv pre-requisite installation
akashchi Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/actions/system_info/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'System Information'
description: 'Information about the system'
runs:
using: "composite"
steps:
- if: runner.os == 'Linux'
shell: bash
run: |
echo "System: ${{ runner.os }}"
echo "System Architecture: ${{ runner.arch }}"
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 "CPU and RAM Info: "; system_profiler SPHardwareDataType
echo "MEMORY Info: "; df -h

- if: runner.os == 'Windows'
shell: pwsh
run: |
echo "System: ${{ runner.os }}"
echo "System Architecture: ${{ runner.arch }}"
echo "CPU Info: "; Get-CimInstance –ClassName Win32_Processor | Select-Object -Property Name, NumberOfCores, NumberOfLogicalProcessors
echo "RAM info: $(systeminfo | Select-String 'Total Physical Memory:')"
7 changes: 7 additions & 0 deletions .github/workflows/android_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
path: 'vcpkg'
fetch-depth: '0'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,21 @@ jobs:
SCCACHE_AZURE_KEY_PREFIX: fedora33_x86_64_Release
steps:
- name: Install git
run: yum update -y && yum install -y git
run: yum update -y && yum install -y git procps
ilya-lavrenov marked this conversation as resolved.
Show resolved Hide resolved

- name: Clone OpenVINO
uses: actions/checkout@v4
with:
path: ${{ env.OPENVINO_REPO }}
submodules: 'true'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ jobs:
submodules: 'true'
ref: 'master'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/linux_conditional_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ jobs:
lfs: 'true'
ref: 'master'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/linux_riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
with:
path: 'openvino'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

- name: Init submodules for non-Conan dependencies
run: |
pushd ${OPENVINO_REPO}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ jobs:
repository: 'openvinotoolkit/openvino_contrib'
path: 'openvino_contrib'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ jobs:
path: 'openvino_contrib'
ref: 'master'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/windows_conditional_compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ jobs:
lfs: 'true'
ref: 'master'

#
# Print system info
#

- name: System info
uses: ./openvino/.github/actions/system_info

#
# Dependencies
#
Expand Down
Loading