From f076b3944ffdbaa81f0e01dee2441c6b0027ec22 Mon Sep 17 00:00:00 2001 From: Mikhail Ryzhov Date: Mon, 2 Dec 2024 11:59:50 +0100 Subject: [PATCH] Reverted w/a with hardcoded paths (#329) * test provider fix * fix * latest_available_commit * Update .github/workflows/linux.yml Co-authored-by: Alina Kladieva * revert container w/a * Revert "Merge branch 'provider_container_fix' of https://github.com/mryzhov/openvino_tokenizers_public into provider_container_fix" This reverts commit 0ce8c73439434d2935a4aacb20e68b6c3ad9d981, reversing changes made to 53eccc8a702f5df87c8ba388fd0af430fcd84beb. --------- Co-authored-by: Alina Kladieva --- .github/workflows/linux.yml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c51c9a1a..71b1ab89 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -34,7 +34,9 @@ jobs: runs-on: aks-linux-2-cores-8gb container: image: 'openvinogithubactions.azurecr.io/openvino_provider:0.1.0' - volumes: [ "/mount:/mount" ] + volumes: + - /mount:/mount + - ${{ github.workspace }}:${{ github.workspace }} steps: - uses: openvinotoolkit/openvino/.github/actions/openvino_provider@master @@ -42,7 +44,7 @@ jobs: with: platform: 'ubuntu22' commit_packages_to_provide: 'wheels' - revision: 'latest_available_commit' + revision: latest_available_commit - name: Clone docker tag from OpenVINO repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -77,16 +79,16 @@ jobs: runs-on: aks-linux-8-cores-16gb container: image: openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }} - volumes: + volumes: - /mount:/mount + - ${{ github.workspace }}:${{ github.workspace }} env: CMAKE_GENERATOR: 'Ninja' - GITHUB_WORKSPACE: /__w/openvino_tokenizers/openvino_tokenizers - OPENVINO_REPO: /__w/openvino_tokenizers/openvino_tokenizers/openvino - INSTALL_DIR: /__w/openvino_tokenizers/openvino_tokenizers/openvino/install - OV_TOKENIZERS_INSTALL_DIR: /__w/openvino_tokenizers/openvino_tokenizers/openvino_tokenizers/install - OPENVINO_TOKENIZERS_REPO: /__w/openvino_tokenizers/openvino_tokenizers/openvino_tokenizers - BUILD_DIR: /__w/openvino_tokenizers/openvino_tokenizers/openvino_tokenizers/build + OPENVINO_REPO: ${{ github.workspace }}/openvino + INSTALL_DIR: ${{ github.workspace }}/openvino/install + OV_TOKENIZERS_INSTALL_DIR: ${{ github.workspace }}/openvino_tokenizers/install + OPENVINO_TOKENIZERS_REPO: ${{ github.workspace }}/openvino_tokenizers + BUILD_DIR: ${{ github.workspace }}/openvino_tokenizers/build steps: - name: Clone Openvino tokenizers @@ -156,14 +158,14 @@ jobs: runs-on: aks-linux-4-cores-16gb container: image: openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.openvino_download.outputs.docker_tag }} - volumes: + volumes: - /mount:/mount + - ${{ github.workspace }}:${{ github.workspace }} env: - GITHUB_WORKSPACE: /__w/openvino_tokenizers/openvino_tokenizers - OPENVINO_REPO: /__w/openvino_tokenizers/openvino_tokenizers/openvino - INSTALL_DIR: /__w/openvino_tokenizers/openvino_tokenizers/openvino/install - OPENVINO_TOKENIZERS_REPO: /__w/openvino_tokenizers/openvino_tokenizers/openvino_tokenizers - BUILD_DIR: /__w/openvino_tokenizers/openvino_tokenizers/openvino_tokenizers/build + OPENVINO_REPO: ${{ github.workspace }}/openvino + INSTALL_DIR: ${{ github.workspace }}/openvino/install + OPENVINO_TOKENIZERS_REPO: ${{ github.workspace }}/openvino_tokenizers + BUILD_DIR: ${{ github.workspace }}/openvino_tokenizers/build steps: - name: Clone Openvino tokenizers