Skip to content

Commit

Permalink
do not use dev package
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchi committed Apr 24, 2024
1 parent e293f8d commit 61cb075
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
TEST_DATA: /__w/openvino_contrib/openvino_contrib/testdata
INSTALL_DIR: /__w/openvino_contrib/openvino_contrib/openvino_install
BUILD_DIR: /__w/openvino_contrib/openvino_contrib/openvino_build
DEVELOPER_PACKAGE_DIR: /__w/openvino_contrib/openvino_contrib/developer_package_install
GRADLE_VER: '7.1.1'

steps:
Expand Down Expand Up @@ -146,9 +145,7 @@ jobs:
run: ccache --show-stats

- name: Cmake install
run: |
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -P ${BUILD_DIR}/cmake_install.cmake
cmake -DCMAKE_INSTALL_PREFIX=${DEVELOPER_PACKAGE_DIR} -DCOMPONENT=developer_package -P ${BUILD_DIR}/cmake_install.cmake
run: cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -P ${BUILD_DIR}/cmake_install.cmake

- name: Java tests
working-directory: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api
Expand Down Expand Up @@ -177,10 +174,6 @@ jobs:
tar -czvf ${BUILD_DIR}/openvino_package.tar.gz *
popd
pushd ${DEVELOPER_PACKAGE_DIR}
tar -czvf ${BUILD_DIR}/openvino_developer_package.tar.gz *
popd
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
Expand All @@ -197,14 +190,6 @@ jobs:
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
if-no-files-found: 'error'

- name: Upload openvino developer package
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: openvino_developer_package
path: ${{ env.BUILD_DIR }}/openvino_developer_package.tar.gz
if-no-files-found: 'error'

NVIDIA_Plugin:
name: NVIDIA plugin
needs: Build_and_test
Expand Down Expand Up @@ -249,22 +234,12 @@ jobs:
name: openvino_package
path: ${{ env.INSTALL_DIR }}

- name: Download OpenVINO Developer package
uses: actions/download-artifact@v4
with:
name: openvino_developer_package
path: ${{ env.INSTALL_DIR }}

- name: Extract OpenVINO packages
run: |
pushd ${INSTALL_DIR}
tar -xzf openvino_package.tar.gz -C ${INSTALL_DIR}
popd
pushd ${INSTALL_DIR}
tar -xzf openvino_developer_package.tar.gz -C ${INSTALL_DIR}
popd
- name: Clone OpenVINO Contrib
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -317,7 +292,6 @@ jobs:
run: |
source ${INSTALL_DIR}/setupvars.sh
cmake \
-DOpenVINODeveloperPackage_DIR=${OPENVINO_DEVELOPER_PACKAGE}/cmake \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF \
-S ${OPENVINO_CONTRIB_REPO}/modules/nvidia_plugin \
-B ${NVIDIA_BUILD_DIR}
Expand Down

0 comments on commit 61cb075

Please sign in to comment.