Skip to content

Update default packages to 2023.2.0 #464

Update default packages to 2023.2.0

Update default packages to 2023.2.0 #464

name: Images build check
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
image_build:
strategy:
matrix:
os: [ubuntu-20.04]
image_os: [ubuntu20]
image_distribution: [runtime]
exclude:
- os: ubuntu-20.04
image_os: winserver2019
- os: windows-2019
image_os: centos7
- os: windows-2019
image_os: ubuntu20
- os: windows-2019
image_os: ubuntu20
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.7'
- 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-20.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@v2
with:
name: logs
path: |
logs/
./*.html
./*.log