Skip to content

Commit

Permalink
test_4
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-intel committed Dec 17, 2024
1 parent 7b3191f commit c898508
Showing 1 changed file with 48 additions and 31 deletions.
79 changes: 48 additions & 31 deletions .github/workflows/dev_cpu_linux_riscv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c898508

Please sign in to comment.