[CI][GHA] Introduce SYCL runtime check - #37085
Conversation
Based on ubuntu_22_dpcpp Signed-off-by: KUWAMURA Shin'ya <kuwa@fujitsu.com>
|
@mryzhov , could you please review? |
|
@kuwa6805 , a general comment. Isn't it better to update ubuntu version to at least 24.06 ? Ubuntu 22 looks rather outdated. |
We can migrate to the new Ubuntu version in a separate PR. For that, we just need to create a new build Dockerfile, similar to how it was done for Ubuntu 22.(https://github.com/openvinotoolkit/openvino/blob/master/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile#L43) |
| build-contrib: false | ||
| build-rpm-packages: false | ||
| target-branch: ${{ inputs.target-branch }} | ||
| cmake-options: >- |
There was a problem hiding this comment.
Can we explicitly set only non-default options? For example CPACK_GENERATOR=TGZ is set by default
There was a problem hiding this comment.
There's no particular reason. It's simply to reduce build time. I plan to use the default settings.
There was a problem hiding this comment.
Now, cmake-options is based on ubuntu_22.yml.
| -DENABLE_OV_TF_LITE_FRONTEND=OFF | ||
| -DENABLE_SAMPLES=OFF | ||
| -DENABLE_PLUGINS_XML=ON | ||
| -DENABLE_WHEEL=ON |
There was a problem hiding this comment.
do we really need to build ov wheel build? Looks like we can switch it off
There was a problem hiding this comment.
No, I'll turn that option off.
mryzhov
left a comment
There was a problem hiding this comment.
Looks good, just left minor comments
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Actions workflow intended to validate building OpenVINO with Intel DPC++ and the SYCL GPU runtime on Ubuntu 22.04, aligning with the request in issue #36041 to introduce SYCL runtime CI validation.
Changes:
- Introduces a new
ubuntu_22_sycl.ymlworkflow based on the existing DPC++ pipeline. - Configures a minimized CMake feature set with
GPU_RT_TYPE=SYCLto validate SYCL-enabled builds.
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| target-branch: | ||
| description: 'Target branch for the build; taken from event context by default' | ||
| type: string | ||
| required: false | ||
| # pull_request: | ||
| # merge_group: | ||
|
|
| Build: | ||
| needs: [Docker, Smart_CI] | ||
| if: "!needs.smart_ci.outputs.skip_workflow" | ||
| uses: ./.github/workflows/job_build_linux.yml | ||
| with: | ||
| runner: 'aks-linux-16-cores-32gb' | ||
| image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_dpcpp }} | ||
| affected-components: ${{ needs.smart_ci.outputs.affected_components }} | ||
| event-name: ${{ github.event_name }} | ||
| os: 'ubuntu_22_04_dpcpp' | ||
| build-js: false | ||
| build-debian-packages: false | ||
| build-contrib: false | ||
| build-rpm-packages: false | ||
| target-branch: ${{ inputs.target-branch }} | ||
| cmake-options: >- | ||
| -DENABLE_NCC_STYLE=OFF | ||
| -DENABLE_TESTS=OFF | ||
| -DENABLE_INTEL_GPU=ON | ||
| -DENABLE_INTEL_NPU=OFF |
- Run when a pull_request or merge_group occurs - cmake-options are based on ubuntu_22.yml - Disable wheel building - Since it is incompatible with DPC++, the system's FlatBuffers are disabled Signed-off-by: KUWAMURA Shin'ya <kuwa@fujitsu.com>
Details:
Tickets:
AI Assistance: