From 4599520ce09fc1f7f340aaa7a9c320a526085d6d Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 12:18:25 +0200 Subject: [PATCH 01/28] added action --- .github/actions/system_info/action.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/actions/system_info/action.yml diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml new file mode 100644 index 00000000000000..e3bbc3f86b6305 --- /dev/null +++ b/.github/actions/system_info/action.yml @@ -0,0 +1,11 @@ +name: 'System Info' +description: 'Get system information: CPU, RAM' +runs: + using: "composite" + steps: + - run: echo "CPU info: $(lscpu)" + shell: bash + - run: echo "ram info: $(free -h)" + shell: bash + - run: echo "hdd info: $(df -h)" + shell: bash \ No newline at end of file From dbf499c455fe8ed1d311905592bc1bb6e70227ec Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 12:49:04 +0200 Subject: [PATCH 02/28] test action --- .github/workflows/linux.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 733dfed4c09d14..7c74c49293ef35 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -67,8 +67,12 @@ jobs: apt-get update apt-get install --assume-yes --no-install-recommends git ca-certificates + - uses: actions/checkout@v4 + - id: system_info + uses: .github/actions/system_info@v1 + - name: Clone OpenVINO - uses: actions/checkout@v4 + uses: actions/checkout@v4m with: path: ${{ env.OPENVINO_REPO }} submodules: 'true' From 2a55b09b8d3411894cc241dd38cc80d2a0e14514 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 12:55:59 +0200 Subject: [PATCH 03/28] fixed typo --- .github/workflows/linux.yml | 2 +- thirdparty/open_model_zoo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7c74c49293ef35..822388a211be05 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -72,7 +72,7 @@ jobs: uses: .github/actions/system_info@v1 - name: Clone OpenVINO - uses: actions/checkout@v4m + uses: actions/checkout@v4 with: path: ${{ env.OPENVINO_REPO }} submodules: 'true' diff --git a/thirdparty/open_model_zoo b/thirdparty/open_model_zoo index bb98fe444c84d6..e0e434f64a4da0 160000 --- a/thirdparty/open_model_zoo +++ b/thirdparty/open_model_zoo @@ -1 +1 @@ -Subproject commit bb98fe444c84d67fd67ee7ec15a340722c652053 +Subproject commit e0e434f64a4da07274c31c1aae48fbdcfa087fb0 From cf5860a9a6f2e744a544ad68e7aa023f925ffe1f Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 13:05:49 +0200 Subject: [PATCH 04/28] move action to test flow --- .github/workflows/linux.yml | 4 ---- .github/workflows/main.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 822388a211be05..733dfed4c09d14 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -67,10 +67,6 @@ jobs: apt-get update apt-get install --assume-yes --no-install-recommends git ca-certificates - - uses: actions/checkout@v4 - - id: system_info - uses: .github/actions/system_info@v1 - - name: Clone OpenVINO uses: actions/checkout@v4 with: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000000..a2868f6d1288b4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: Test workflow +on: [pull_request] + +jobs: + hello_world_job: + runs-on: ubuntu-latest + name: A job to say hello + steps: + # To use this repository's private action, + # you must check out the repository + - name: Checkout + uses: actions/checkout@v3 + + - name: System info + uses: ./.github/actions/system_info + id: hello From ff4b59aeacdd63d11b1105956aad2f9fb88f8b4b Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 13:24:12 +0200 Subject: [PATCH 05/28] fixed pipeline --- .github/actions/system_info/action.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index e3bbc3f86b6305..0c108c1547d5c5 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -3,9 +3,15 @@ description: 'Get system information: CPU, RAM' runs: using: "composite" steps: - - run: echo "CPU info: $(lscpu)" + - run: | + echo "CPU info:" + lscpu shell: bash - - run: echo "ram info: $(free -h)" + - run: | + echo "ram info:" + free -h shell: bash - - run: echo "hdd info: $(df -h)" + - run: | + echo "hdd info:" + df -h shell: bash \ No newline at end of file From 8abaa9f3f1d80e7cdd8f94a82eb0fdc14ed40a0e Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 13:35:42 +0200 Subject: [PATCH 06/28] changed description --- .github/actions/system_info/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 0c108c1547d5c5..1ee57dc62f486c 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -1,5 +1,5 @@ -name: 'System Info' -description: 'Get system information: CPU, RAM' +name: 'System Information' +description: 'Get system information: CPU, RAM, HDD' runs: using: "composite" steps: From 5a76b70af5fffdf2d0c4d16876889700f37479c5 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 13:40:42 +0200 Subject: [PATCH 07/28] add action to common pipeline --- .github/workflows/linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 733dfed4c09d14..4b025cf1bdf6cf 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -81,6 +81,9 @@ jobs: submodules: 'true' ref: 'master' + - name: System info + uses: ./.github/actions/system_info + # # Dependencies # From b75ec3f046e39098107573ac6f591ca999a51a41 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 13:57:32 +0200 Subject: [PATCH 08/28] changed actions path --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4b025cf1bdf6cf..f3efefeebfca71 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -82,7 +82,7 @@ jobs: ref: 'master' - name: System info - uses: ./.github/actions/system_info + uses: ${{ env.OPENVINO_REPO }}/.github/actions/system_info # # Dependencies From 446cb19bc8cb4d757c8efcb0e30a0b23cce7f69d Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 14:00:33 +0200 Subject: [PATCH 09/28] use bash syntax --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f3efefeebfca71..aea7620c2ee7d8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -82,7 +82,7 @@ jobs: ref: 'master' - name: System info - uses: ${{ env.OPENVINO_REPO }}/.github/actions/system_info + uses: ${OPENVINO_REPO}/.github/actions/system_info # # Dependencies From ea7e3481f3998d1ee3beecbe3f6d73352b1807be Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 14:13:33 +0200 Subject: [PATCH 10/28] path --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index aea7620c2ee7d8..159ef823c6b98d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -82,7 +82,7 @@ jobs: ref: 'master' - name: System info - uses: ${OPENVINO_REPO}/.github/actions/system_info + uses: .github/actions/system_info # # Dependencies From c5f242beafa3b6441215f4d940a102d733b17507 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 14:16:29 +0200 Subject: [PATCH 11/28] fix --- .github/workflows/linux.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 159ef823c6b98d..89bc33847587d3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -82,7 +82,8 @@ jobs: ref: 'master' - name: System info - uses: .github/actions/system_info + uses: actions/checkout@v4 + uses: ./actions/system_info # # Dependencies From d77cd399342d3c2da35b9fe7e3d64e1b4557ea83 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 14:17:45 +0200 Subject: [PATCH 12/28] reordered --- .github/workflows/linux.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 89bc33847587d3..ce2284ef1786f3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -67,6 +67,10 @@ jobs: apt-get update apt-get install --assume-yes --no-install-recommends git ca-certificates + # Print system info + - uses: actions/checkout@v4 + - uses: ./actions/system_info + - name: Clone OpenVINO uses: actions/checkout@v4 with: @@ -81,10 +85,6 @@ jobs: submodules: 'true' ref: 'master' - - name: System info - uses: actions/checkout@v4 - uses: ./actions/system_info - # # Dependencies # From 403cf1e89fcb73ed5aa2ff699a068194799d546b Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 14:21:27 +0200 Subject: [PATCH 13/28] update --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3023fc2f57ff91..784c5ce97cf313 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -69,7 +69,7 @@ jobs: # Print system info - uses: actions/checkout@v4 - - uses: ./actions/system_info + - uses: ./.github/actions/system_info - name: Clone OpenVINO uses: actions/checkout@v4 From ad7ed86f28c47deb1bacbd748b421c48ecfced57 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 16:52:59 +0200 Subject: [PATCH 14/28] revert unused changes --- .github/workflows/main.yml | 16 ---------------- thirdparty/open_model_zoo | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index a2868f6d1288b4..00000000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Test workflow -on: [pull_request] - -jobs: - hello_world_job: - runs-on: ubuntu-latest - name: A job to say hello - steps: - # To use this repository's private action, - # you must check out the repository - - name: Checkout - uses: actions/checkout@v3 - - - name: System info - uses: ./.github/actions/system_info - id: hello diff --git a/thirdparty/open_model_zoo b/thirdparty/open_model_zoo index e0e434f64a4da0..bb98fe444c84d6 160000 --- a/thirdparty/open_model_zoo +++ b/thirdparty/open_model_zoo @@ -1 +1 @@ -Subproject commit e0e434f64a4da07274c31c1aae48fbdcfa087fb0 +Subproject commit bb98fe444c84d67fd67ee7ec15a340722c652053 From bff8ac23969dc6ce83631ec4d6997ecdff677b31 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 16:53:25 +0200 Subject: [PATCH 15/28] update path --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 784c5ce97cf313..6ba45c93d966de 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -69,7 +69,7 @@ jobs: # Print system info - uses: actions/checkout@v4 - - uses: ./.github/actions/system_info + - uses: .github/actions/system_info - name: Clone OpenVINO uses: actions/checkout@v4 From 717b23c3d22a9859d1dbf6d31509398771d8e3f0 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Tue, 24 Oct 2023 17:06:28 +0200 Subject: [PATCH 16/28] Revert "update path" This reverts commit bff8ac23969dc6ce83631ec4d6997ecdff677b31. --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6ba45c93d966de..784c5ce97cf313 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -69,7 +69,7 @@ jobs: # Print system info - uses: actions/checkout@v4 - - uses: .github/actions/system_info + - uses: ./.github/actions/system_info - name: Clone OpenVINO uses: actions/checkout@v4 From 4f6f2cd0f0734f069760194820e7a42d0007c73b Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Wed, 25 Oct 2023 10:00:35 +0200 Subject: [PATCH 17/28] mac and win --- .github/actions/system_info/action.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 1ee57dc62f486c..696d3a9edc54bc 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -1,17 +1,25 @@ name: 'System Information' -description: 'Get system information: CPU, RAM, HDD' +description: 'Information about the system (CPU, RAM, HDD)' runs: using: "composite" steps: - - run: | - echo "CPU info:" + - if: runner.os == 'Linux' + run: | + echo "Display information about the CPU architecture" lscpu - shell: bash - - run: | - echo "ram info:" + echo "Display amount of free and used memory in the system:" free -h + echo "Report file system disk space usage:" + df -h shell: bash - - run: | - echo "hdd info:" + - if: runner.os == 'macOS' + run: | + echo "Display information about the CPU architecture" + sytem_profiler SPHardwarecDataType + echo "Report file system disk space usage:" df -h + shell: bash + - if: runner.os == 'Windows' + run: | + systeminfo | findstr /C:”Memory” shell: bash \ No newline at end of file From 1c57938e6356a7c3eda09cd6db7cf24a1b961cb7 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:11:47 +0100 Subject: [PATCH 18/28] print system info --- .github/actions/system_info/action.yml | 43 ++++++++++++------- .../workflows/check_system_info_action.yml | 36 ++++++++++++++++ .github/workflows/linux.yml | 4 -- 3 files changed, 64 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/check_system_info_action.yml diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 696d3a9edc54bc..69b7eaea933d38 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -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 \ No newline at end of file + 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:')" diff --git a/.github/workflows/check_system_info_action.yml b/.github/workflows/check_system_info_action.yml new file mode 100644 index 00000000000000..ac91e50d046a00 --- /dev/null +++ b/.github/workflows/check_system_info_action.yml @@ -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 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index bad8cf38e808d9..ae512a64393a19 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -67,10 +67,6 @@ jobs: apt-get update apt-get install --assume-yes --no-install-recommends git ca-certificates - # Print system info - - uses: actions/checkout@v4 - - uses: ./.github/actions/system_info - - name: Clone OpenVINO uses: actions/checkout@v4 with: From f17383b3bfb0a4d3601c2a43060b3a3ba3cbeee6 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:15:44 +0100 Subject: [PATCH 19/28] correct pathg --- .github/workflows/check_system_info_action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_system_info_action.yml b/.github/workflows/check_system_info_action.yml index ac91e50d046a00..184c5c087d416c 100644 --- a/.github/workflows/check_system_info_action.yml +++ b/.github/workflows/check_system_info_action.yml @@ -33,4 +33,4 @@ jobs: # - name: System info - uses: ./.github/actions/system_info + uses: ${{ github.workspace }}/openvino/.github/actions/system_info From 0c48b93690e35d151e9843d51909ab51ab53f543 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:17:32 +0100 Subject: [PATCH 20/28] use relative path --- .github/workflows/check_system_info_action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_system_info_action.yml b/.github/workflows/check_system_info_action.yml index 184c5c087d416c..933bf6d0c1a11d 100644 --- a/.github/workflows/check_system_info_action.yml +++ b/.github/workflows/check_system_info_action.yml @@ -33,4 +33,4 @@ jobs: # - name: System info - uses: ${{ github.workspace }}/openvino/.github/actions/system_info + uses: ./openvino/.github/actions/system_info From 5bde5d6ec25b4352b3a3e94e9c63b9931698784c Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:19:08 +0100 Subject: [PATCH 21/28] run mac --- .github/workflows/check_system_info_action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_system_info_action.yml b/.github/workflows/check_system_info_action.yml index 933bf6d0c1a11d..5787b537c63548 100644 --- a/.github/workflows/check_system_info_action.yml +++ b/.github/workflows/check_system_info_action.yml @@ -19,7 +19,7 @@ jobs: max-parallel: 3 fail-fast: false matrix: - machine: [aks-linux-8-cores, ubuntu-latest, windows-latest] + machine: [aks-linux-8-cores, macos-13, windows-latest] runs-on: ${{ matrix.machine }} steps: From ad56c9ed811949d6a5f96a7d866be08273ac9610 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:26:42 +0100 Subject: [PATCH 22/28] add print sysinfo step, enable triggers --- .github/workflows/android_arm64.yml | 7 ++++ .../workflows/check_system_info_action.yml | 36 ------------------- .github/workflows/linux.yml | 7 ++++ .../linux_conditional_compilation.yml | 7 ++++ .github/workflows/linux_riscv.yml | 7 ++++ .github/workflows/mac.yml | 23 +++++++----- .github/workflows/windows.yml | 23 +++++++----- .../windows_conditional_compilation.yml | 23 +++++++----- 8 files changed, 73 insertions(+), 60 deletions(-) delete mode 100644 .github/workflows/check_system_info_action.yml diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml index 34487b04903d70..1e5f2f1212b9c2 100644 --- a/.github/workflows/android_arm64.yml +++ b/.github/workflows/android_arm64.yml @@ -106,6 +106,13 @@ jobs: with: version: "v0.5.4" + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Build # diff --git a/.github/workflows/check_system_info_action.yml b/.github/workflows/check_system_info_action.yml deleted file mode 100644 index 5787b537c63548..00000000000000 --- a/.github/workflows/check_system_info_action.yml +++ /dev/null @@ -1,36 +0,0 @@ -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, macos-13, windows-latest] - runs-on: ${{ matrix.machine }} - - steps: - - name: Clone OpenVINO - uses: actions/checkout@v4 - with: - path: 'openvino' - - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index ae512a64393a19..6f10e6adbf2545 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -114,6 +114,13 @@ jobs: python -m pip cache info continue-on-error: true + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + - name: Install python dependencies run: | # For Python API: build and wheel packaging diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml index 5baf92c143d4a1..f2d51a28d8a41d 100644 --- a/.github/workflows/linux_conditional_compilation.yml +++ b/.github/workflows/linux_conditional_compilation.yml @@ -103,6 +103,13 @@ jobs: echo "Using pip version: ${PIP_VER}" echo "PIP_CACHE_DIR=${PIP_CACHE_PATH}/${PIP_VER}" >> $GITHUB_ENV + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + - name: Install python dependencies run: | # For running ONNX frontend unit tests diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml index 0b181c3c8ff0ed..c1dcbbcb7b7b71 100644 --- a/.github/workflows/linux_riscv.yml +++ b/.github/workflows/linux_riscv.yml @@ -134,6 +134,13 @@ jobs: env: CONAN_LINUX_RISCV64_PROFILE: ${{ env.OPENVINO_BUILD_DIR }}/linux_riscv64 + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Build # diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index c39df9691fd78b..a9c2a128bc067c 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -4,14 +4,14 @@ on: schedule: # at 00:00 on workdays - cron: '0 0 * * 1,2,3,4,5' -# pull_request: -# paths-ignore: -# - '**/docs/**' -# - 'docs/**' -# - '**/**.md' -# - '**.md' -# - '**/layer_tests_summary/**' -# - '**/conformance/**' + pull_request: + paths-ignore: + - '**/docs/**' + - 'docs/**' + - '**/**.md' + - '**.md' + - '**/layer_tests_summary/**' + - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' @@ -85,6 +85,13 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + - name: Install python dependencies run: | # For Python API diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 84e9209aecb092..fbdf0889fa3bf9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,14 +4,14 @@ on: schedule: # at 00:00 on workdays - cron: '0 0 * * 1,2,3,4,5' -# pull_request: -# paths-ignore: -# - '**/docs/**' -# - 'docs/**' -# - '**/**.md' -# - '**.md' -# - '**/layer_tests_summary/**' -# - '**/conformance/**' + pull_request: + paths-ignore: + - '**/docs/**' + - 'docs/**' + - '**/**.md' + - '**.md' + - '**/layer_tests_summary/**' + - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' @@ -111,6 +111,13 @@ jobs: restore-keys: | ${{ github.job }}-${{ runner.os }}-common + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + - name: CMake configure run: | cmake -G "${{ env.CMAKE_GENERATOR }}" ` diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml index d506272d0ad510..25ff93165a6afa 100644 --- a/.github/workflows/windows_conditional_compilation.yml +++ b/.github/workflows/windows_conditional_compilation.yml @@ -4,14 +4,14 @@ on: schedule: # run daily at 00:00 - cron: '0 0 * * *' -# pull_request: -# paths-ignore: -# - '**/docs/**' -# - 'docs/**' -# - '**/**.md' -# - '**.md' -# - '**/layer_tests_summary/**' -# - '**/conformance/**' + pull_request: + paths-ignore: + - '**/docs/**' + - 'docs/**' + - '**/**.md' + - '**.md' + - '**/layer_tests_summary/**' + - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' @@ -94,6 +94,13 @@ jobs: restore-keys: | ${{ github.job }}-${{ runner.os }}-itt + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + - name: CMake configure - CC COLLECT run: | cmake -G "${{ env.CMAKE_GENERATOR }}" ` From 126f56a9a513ff53c38667d7b5c016fcce2455ad Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 12:54:30 +0100 Subject: [PATCH 23/28] use win agnostic func --- .github/actions/system_info/action.yml | 2 +- .github/workflows/mac.yml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 69b7eaea933d38..2bd8ba602d507d 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -34,5 +34,5 @@ runs: echo "Python version: $(python3 --version)" echo "gcc version: $(gcc --version)" echo "cmake version: $(cmake --version)" - echo "CPU Info: "; Get-WmiObject Win32_Processor + echo "CPU Info: "; Get-CimInstance –ClassName Win32_Processor | Select-Object -Property Name, NumberOfCores, NumberOfLogicalProcessors echo "RAM info: $(systeminfo | Select-String 'Total Physical Memory:')" diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index a9c2a128bc067c..eb4e5f2288b2d2 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -4,14 +4,14 @@ on: schedule: # at 00:00 on workdays - cron: '0 0 * * 1,2,3,4,5' - pull_request: - paths-ignore: - - '**/docs/**' - - 'docs/**' - - '**/**.md' - - '**.md' - - '**/layer_tests_summary/**' - - '**/conformance/**' +# pull_request: +# paths-ignore: +# - '**/docs/**' +# - 'docs/**' +# - '**/**.md' +# - '**.md' +# - '**/layer_tests_summary/**' +# - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' From c246df876aef4396af1978af41f2765a30a1ff13 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 13:01:49 +0100 Subject: [PATCH 24/28] rm triggers --- .github/workflows/windows.yml | 16 ++++++++-------- .../windows_conditional_compilation.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fbdf0889fa3bf9..bb2439786c1602 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,14 +4,14 @@ on: schedule: # at 00:00 on workdays - cron: '0 0 * * 1,2,3,4,5' - pull_request: - paths-ignore: - - '**/docs/**' - - 'docs/**' - - '**/**.md' - - '**.md' - - '**/layer_tests_summary/**' - - '**/conformance/**' +# pull_request: +# paths-ignore: +# - '**/docs/**' +# - 'docs/**' +# - '**/**.md' +# - '**.md' +# - '**/layer_tests_summary/**' +# - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml index 25ff93165a6afa..0400e724b5855c 100644 --- a/.github/workflows/windows_conditional_compilation.yml +++ b/.github/workflows/windows_conditional_compilation.yml @@ -4,14 +4,14 @@ on: schedule: # run daily at 00:00 - cron: '0 0 * * *' - pull_request: - paths-ignore: - - '**/docs/**' - - 'docs/**' - - '**/**.md' - - '**.md' - - '**/layer_tests_summary/**' - - '**/conformance/**' +# pull_request: +# paths-ignore: +# - '**/docs/**' +# - 'docs/**' +# - '**/**.md' +# - '**.md' +# - '**/layer_tests_summary/**' +# - '**/conformance/**' # push: # paths-ignore: # - '**/docs/**' From e3cd9cbb18a008d921f47b7d95624d55fd98c8ed Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 13:24:29 +0100 Subject: [PATCH 25/28] mv sysinfo check after checkouts; rm tools versions info printing --- .github/actions/system_info/action.yml | 9 --------- .github/workflows/android_arm64.yml | 14 +++++++------- .github/workflows/fedora.yml | 7 +++++++ .github/workflows/linux.yml | 14 +++++++------- .../workflows/linux_conditional_compilation.yml | 14 +++++++------- .github/workflows/linux_riscv.yml | 14 +++++++------- .github/workflows/mac.yml | 14 +++++++------- .github/workflows/windows.yml | 14 +++++++------- .../workflows/windows_conditional_compilation.yml | 14 +++++++------- 9 files changed, 56 insertions(+), 58 deletions(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 2bd8ba602d507d..32e09c159b7b4d 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -8,9 +8,6 @@ runs: 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 Info: "; lscpu echo "RAM Info: "; free -h --si echo "MEMORY Info: "; df -h @@ -20,9 +17,6 @@ runs: 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 @@ -31,8 +25,5 @@ runs: run: | 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-CimInstance –ClassName Win32_Processor | Select-Object -Property Name, NumberOfCores, NumberOfLogicalProcessors echo "RAM info: $(systeminfo | Select-String 'Total Physical Memory:')" diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml index 1e5f2f1212b9c2..deacec70e344ea 100644 --- a/.github/workflows/android_arm64.yml +++ b/.github/workflows/android_arm64.yml @@ -77,6 +77,13 @@ jobs: path: 'vcpkg' fetch-depth: '0' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # @@ -106,13 +113,6 @@ jobs: with: version: "v0.5.4" - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - # # Build # diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 3bb6b69c76d1f1..b7ae5765971206 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -59,6 +59,13 @@ jobs: path: ${{ env.OPENVINO_REPO }} submodules: 'true' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6f10e6adbf2545..888358d10b1182 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -81,6 +81,13 @@ jobs: submodules: 'true' ref: 'master' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # @@ -114,13 +121,6 @@ jobs: python -m pip cache info continue-on-error: true - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - - name: Install python dependencies run: | # For Python API: build and wheel packaging diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml index f2d51a28d8a41d..6c56f4bac01327 100644 --- a/.github/workflows/linux_conditional_compilation.yml +++ b/.github/workflows/linux_conditional_compilation.yml @@ -75,6 +75,13 @@ jobs: lfs: 'true' ref: 'master' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # @@ -103,13 +110,6 @@ jobs: echo "Using pip version: ${PIP_VER}" echo "PIP_CACHE_DIR=${PIP_CACHE_PATH}/${PIP_VER}" >> $GITHUB_ENV - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - - name: Install python dependencies run: | # For running ONNX frontend unit tests diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml index c1dcbbcb7b7b71..25528d96e151db 100644 --- a/.github/workflows/linux_riscv.yml +++ b/.github/workflows/linux_riscv.yml @@ -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} @@ -134,13 +141,6 @@ jobs: env: CONAN_LINUX_RISCV64_PROFILE: ${{ env.OPENVINO_BUILD_DIR }}/linux_riscv64 - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - # # Build # diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index eb4e5f2288b2d2..86bee3e82e8df5 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -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 # @@ -85,13 +92,6 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - - name: Install python dependencies run: | # For Python API diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bb2439786c1602..4984826bfba7fd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -62,6 +62,13 @@ jobs: path: 'openvino_contrib' ref: 'master' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # @@ -111,13 +118,6 @@ jobs: restore-keys: | ${{ github.job }}-${{ runner.os }}-common - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - - name: CMake configure run: | cmake -G "${{ env.CMAKE_GENERATOR }}" ` diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml index 0400e724b5855c..976daa18272796 100644 --- a/.github/workflows/windows_conditional_compilation.yml +++ b/.github/workflows/windows_conditional_compilation.yml @@ -64,6 +64,13 @@ jobs: lfs: 'true' ref: 'master' + # + # Print system info + # + + - name: System info + uses: ./openvino/.github/actions/system_info + # # Dependencies # @@ -94,13 +101,6 @@ jobs: restore-keys: | ${{ github.job }}-${{ runner.os }}-itt - # - # Print system info - # - - - name: System info - uses: ./openvino/.github/actions/system_info - - name: CMake configure - CC COLLECT run: | cmake -G "${{ env.CMAKE_GENERATOR }}" ` From 516935944dab92f74c97a81fffa1debfc78ef617 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 13:24:51 +0100 Subject: [PATCH 26/28] correct desc --- .github/actions/system_info/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index 32e09c159b7b4d..b0ef70caabeb83 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -1,5 +1,5 @@ name: 'System Information' -description: 'Information about the system and tools' +description: 'Information about the system' runs: using: "composite" steps: From 4b90cf7a1e9768cafc2cc6fb46e342c86b99ae05 Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 13:33:29 +0100 Subject: [PATCH 27/28] add sysinfo dep for fedora --- .github/workflows/fedora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index b7ae5765971206..04dae979e7d12e 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -51,7 +51,7 @@ 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 - name: Clone OpenVINO uses: actions/checkout@v4 From 6ac2e503122d7744ed9572b85782440c0b5b528e Mon Sep 17 00:00:00 2001 From: Andrei Kashchikhin Date: Thu, 26 Oct 2023 13:51:19 +0100 Subject: [PATCH 28/28] mv pre-requisite installation --- .github/actions/system_info/action.yml | 5 +++++ .github/workflows/fedora.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/system_info/action.yml b/.github/actions/system_info/action.yml index b0ef70caabeb83..fb4ff1a9520c95 100644 --- a/.github/actions/system_info/action.yml +++ b/.github/actions/system_info/action.yml @@ -6,6 +6,11 @@ runs: - if: runner.os == 'Linux' shell: bash run: | + # Install pre-requisites for Fedora + if [[ -e /etc/fedora-release ]]; then + yum update -y -q && yum install -y -q procps + fi + echo "System: ${{ runner.os }}" echo "System Architecture: ${{ runner.arch }}" echo "CPU Info: "; lscpu diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 04dae979e7d12e..b7ae5765971206 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -51,7 +51,7 @@ jobs: SCCACHE_AZURE_KEY_PREFIX: fedora33_x86_64_Release steps: - name: Install git - run: yum update -y && yum install -y git procps + run: yum update -y && yum install -y git - name: Clone OpenVINO uses: actions/checkout@v4