Used newer version of checkout github action (#14843)
* Used newer version of checkout github action * Updated actions/upload-artifact action version to use Node 16 * Updated actions * Experiment * Name documentation artifacts * Moved doxyrest version to environment * Extract PR number * Properly upload documentation * Updated github_org_control/config.json
This commit is contained in:
1 parent
f67b0d5b83
commit
4309325d4e
11 files changed
+174
-192
No files matched your search
@@ -4,6 +4,9 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/code_snippets.yml'
|
||||
- 'docs/snippets/**'
|
||||
branches:
|
||||
- 'master'
|
||||
- 'releases/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/code_snippets.yml'
|
||||
@@ -22,27 +25,17 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Clone OpenVINO
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
lfs: true
|
||||
|
||||
- name: Check cmake
|
||||
run: |
|
||||
which cmake
|
||||
cmake --version
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release ..
|
||||
- name: CMake configure
|
||||
run: cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -DCMAKE_BUILD_TYPE=Release -B build
|
||||
|
||||
- name: Get number of CPU cores
|
||||
uses: SimenB/github-actions-cpu-cores@v1
|
||||
id: cpu-cores
|
||||
|
||||
- name: Build snippets
|
||||
run: |
|
||||
cmake --build . --target ie_docs_snippets -j${{ steps.cpu-cores.outputs.count }}
|
||||
working-directory: build
|
||||
run: cmake --build build --target ie_docs_snippets --parallel ${{ steps.cpu-cores.outputs.count }}
|
||||
Reference in new issue
Block a user