Update NPU driver for Ubuntu 24 and Ubuntu 22 (#335) #652
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Images build check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: read-all | |
| jobs: | |
| image_build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04] | |
| image_os: [ubuntu24] | |
| image_distribution: [runtime] | |
| exclude: | |
| - os: ubuntu-24.04 | |
| image_os: winserver2019 | |
| - os: windows-2019 | |
| image_os: centos7 | |
| - os: windows-2019 | |
| image_os: ubuntu24 | |
| - os: windows-2019 | |
| image_os: ubuntu24 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Code checkout | |
| uses: actions/checkout@v2 | |
| - name: Setting up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.12' | |
| - name: Setting up Python dependencies | |
| if: ${{ always() }} | |
| run: python -m pip install -r requirements.txt | |
| - name: Build Linux image (runtime, latest release) | |
| if: ${{ matrix.os == 'ubuntu-24.04' && ! startsWith(matrix.image_os, 'win') }} | |
| run: python docker_openvino.py build --dist ${{ matrix.image_distribution }} -d cpu -d gpu -os ${{ matrix.image_os }} | |
| - name: Build Windows image (runtime, latest release) | |
| if: ${{ matrix.os == 'windows-2019' && startsWith(matrix.image_os, 'win') }} | |
| run: python docker_openvino.py build --dist ${{ matrix.image_distribution }} -os ${{ matrix.image_os }} | |
| - name: Checking resulting image | |
| if: ${{ always() }} | |
| run: docker images | |
| - name: Collecting artifacts | |
| if: ${{ always() }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: logs | |
| path: | | |
| logs/ | |
| ./*.html | |
| ./*.log |