[GHA] Pinned MSVC toolset version (#24860)
### Details: - Pinned MSVC toolset version - removed hardcoded jobs count ### Tickets: - *ticket-id*
This commit is contained in:
parent
9e662351e8
commit
41d460f7ac
|
|
@ -153,6 +153,8 @@ jobs:
|
|||
|
||||
- name: Configure Developer Command Prompt for Microsoft Visual C++
|
||||
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
|
||||
with:
|
||||
toolset: 14.40
|
||||
|
||||
- name: Set SSL_CERT_FILE for model downloading for unit tests
|
||||
run: echo SSL_CERT_FILE=$(python3 -m certifi) >> $env:GITHUB_ENV
|
||||
|
|
|
|||
|
|
@ -152,6 +152,8 @@ jobs:
|
|||
|
||||
- name: Configure Developer Command Prompt for Microsoft Visual C++
|
||||
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
|
||||
with:
|
||||
toolset: 14.40
|
||||
|
||||
- name: Set SSL_CERT_FILE for model downloading for unit tests
|
||||
run: echo SSL_CERT_FILE=$(python3 -m certifi) >> $env:GITHUB_ENV
|
||||
|
|
@ -174,10 +176,11 @@ jobs:
|
|||
- name: Clean ccache stats
|
||||
run: '& ccache --zero-stats'
|
||||
|
||||
# If the build fails due to running out of RAM, please decrease the number of parallel jobs (--parallel n)
|
||||
- name: Cmake build - CC COLLECT
|
||||
run: |
|
||||
cmake --build ${{ env.BUILD_DIR }} --parallel 32 --config ${{ env.CMAKE_BUILD_TYPE }} && `
|
||||
cmake --build ${{ env.BUILD_DIR }} --parallel 32 --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib
|
||||
cmake --build ${{ env.BUILD_DIR }} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} && `
|
||||
cmake --build ${{ env.BUILD_DIR }} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} --target sea_itt_lib
|
||||
|
||||
- name: Show ccache stats
|
||||
run: '& ccache --show-stats'
|
||||
|
|
|
|||
Loading…
Reference in New Issue