New build v2 #2
Workflow file for this run
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
name: Code snippets | |
on: | |
push: | |
paths: | |
- '.github/workflows/code_snippets.yml' | |
- 'docs/snippets/**' | |
branches: | |
- 'master' | |
- 'releases/**' | |
pull_request: | |
paths: | |
- '.github/workflows/code_snippets.yml' | |
- 'docs/snippets/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-22.04', 'macos-latest', 'windows-latest'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Clone OpenVINO | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Install OpenCL | |
uses: awalsh128/cache-apt-pkgs-action@v1.4.2 | |
if: runner.os == 'Linux' | |
with: | |
packages: ocl-icd-opencl-dev opencl-headers | |
version: 3.0 | |
- name: CMake configure | |
run: cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=SEQ -B build | |
- name: Build snippets | |
run: cmake --build build --target openvino_docs_snippets --parallel |