-
Notifications
You must be signed in to change notification settings - Fork 63
50 lines (47 loc) · 1.46 KB
/
build_test_win.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Image build/test on Windows
on:
workflow_dispatch:
inputs:
package_url:
description: 'URL to OpenVINO package'
required: true
default: ''
distribution:
description: 'Distribution of OpenVINO package: dev, runtime'
required: true
default: 'dev'
os:
description: 'OS for Docker image: winserver2019'
required: true
default: 'winserver2019'
args:
description: 'Additional arguments'
required: false
default: ''
permissions: read-all
jobs:
build_test_win:
runs-on: windows-2019
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
run: python -m pip install -r requirements.txt
- name: Build and test image
run: python docker_openvino.py build_test --dist ${{ github.event.inputs.distribution }} --msbuild msbuild2019_online -os ${{ github.event.inputs.os }} --package_url ${{ github.event.inputs.package_url }} -k cpu ${{ github.event.inputs.args }}
- 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