diff --git a/.github/workflows/dev_cpu_linux_riscv.yml b/.github/workflows/dev_cpu_linux_riscv.yml index 98e22b16186138..cd0f8f8e56f3f5 100644 --- a/.github/workflows/dev_cpu_linux_riscv.yml +++ b/.github/workflows/dev_cpu_linux_riscv.yml @@ -4,7 +4,13 @@ on: pull_request: paths: - '.github/workflows/dev_cpu_linux_riscv.yml' - +env: + CMAKE_GENERATOR: 'Ninja Multi-Config' + XUANTIE_DIR: /__w/openvino/xuantie + XUANTIE_BIN_PATH: /mount/testdata1/ + XUANTIE_TAR_NAME: 'Xuantie-900-gcc-linux-5.15.0-glibc-x86_64-V2.8.1' + OPENVINO_REPO: /__w/openvino/openvino/openvino + BUILD_DIR: /__w/openvino/openvino/openvino_build concurrency: # github.ref is not unique in post-commit group: ${{ github.event_name == 'push' && github.run_id || github.ref }}-dev-cpu-linux-riscv @@ -226,38 +232,49 @@ jobs: # - name: Clean ccache # run: ccache --cleanup + # Build_2: + # needs: [Docker, Smart_CI, Build] + # uses: ./.github/workflows/job_build_linux.yml + # with: + # runner: 'aks-linux-16-cores-32gb' + # container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv }}", "volumes": ["/mount:/mount"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}' + # affected-components: ${{ needs.smart_ci.outputs.affected_components }} + # event-name: ${{ github.event_name }} + # os: 'ubuntu_22_04' + # build-js: false + # build-contrib: false + # build-debian-packages: true + # build-rpm-packages: false + # cmake-options: |- + # -DENABLE_CPPLINT=OFF \ + # -DENABLE_NCC_STYLE=OFF \ + # -DENABLE_TESTS=ON \ + # -DENABLE_INTEL_CPU=ON \ + # -DENABLE_INTEL_GPU=OFF \ + # -DENABLE_INTEL_NPU=OFF \ + # -DENABLE_SAMPLES=ON \ + # -DCMAKE_TOOLCHAIN_FILE=${OPENVINO_REPO}/cmake/toolchains/riscv64-071-xuantie-gnu.toolchain.cmake \ + # -DRISCV_TOOLCHAIN_ROOT=${XUANTIE_DIR}/${XUANTIE_TAR_NAME} \ + # -DENABLE_PYTHON=ON \ + # -DENABLE_PYTHON_PACKAGING=ON \ + # -DENABLE_WHEEL=ON \ + # -DENABLE_STRICT_DEPENDENCIES=OFF \ + # -DCMAKE_VERBOSE_MAKEFILE=ON \ + # -DCPACK_GENERATOR=TGZ \ + # -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \ + # -S ${OPENVINO_REPO} \ + # -B ${BUILD_DIR} Build_2: needs: [Docker, Smart_CI, Build] - uses: ./.github/workflows/job_build_linux.yml - with: - runner: 'aks-linux-16-cores-32gb' - container: '{"image": "${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_riscv }}", "volumes": ["/mount:/mount"], "options": "-e SCCACHE_AZURE_BLOB_CONTAINER -e SCCACHE_AZURE_CONNECTION_STRING"}' - affected-components: ${{ needs.smart_ci.outputs.affected_components }} - event-name: ${{ github.event_name }} - os: 'ubuntu_22_04' - build-js: false - build-contrib: false - build-debian-packages: true - build-rpm-packages: false - cmake-options: |- - -DENABLE_CPPLINT=OFF \ - -DENABLE_NCC_STYLE=OFF \ - -DENABLE_TESTS=ON \ - -DENABLE_INTEL_CPU=ON \ - -DENABLE_INTEL_GPU=OFF \ - -DENABLE_INTEL_NPU=OFF \ - -DENABLE_SAMPLES=ON \ - -DCMAKE_TOOLCHAIN_FILE=${OPENVINO_REPO}/cmake/toolchains/riscv64-071-xuantie-gnu.toolchain.cmake \ - -DRISCV_TOOLCHAIN_ROOT=${XUANTIE_DIR}/${XUANTIE_TAR_NAME} \ - -DENABLE_PYTHON=ON \ - -DENABLE_PYTHON_PACKAGING=ON \ - -DENABLE_WHEEL=ON \ - -DENABLE_STRICT_DEPENDENCIES=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCPACK_GENERATOR=TGZ \ - -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \ - -S ${OPENVINO_REPO} \ - -B ${BUILD_DIR} + runs-on: aks-linux-8-cores-32gb + + steps: + - name: smth + run: | + echo "${{env.OPENVINO_REPO}}" && \ + echo "${{env.BUILD_DIR}}" && \ + echo "${{env.XUANTIE_DIR}}" && \ + echo "${{ env.CMAKE_GENERATOR }}" # CPU_Functional_Tests: # name: CPU functional tests