forked from aleksandrm8/ONVIF-Device-Manager
-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (40 loc) · 1.25 KB
/
odm.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
51
52
53
54
name: ODM
on:
push:
branches: [ "ak/rejuvinate" ]
pull_request:
branches: [ "ak/rejuvinate" ]
jobs:
build:
runs-on: windows-2019
env:
Solution_Name: odm.sln # Replace with your solution name, i.e. MyWpfApp.sln.
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v4
- name: build application
run: devenv ${{ env.Solution_Name }} /Build "Release|x64" /Project odm.ui.app
- name: collect artifacts
run: .\package.bat
shell: cmd
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: odm-build-zip
path: build/
- name: DisableOutOfProcBuild
working-directory: ${{env.DevEnvDir}}\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild
run: .\DisableOutOfProcBuild.exe
continue-on-error: true
- name: build installer
run: devenv ${{ env.Solution_Name }} /Build "Release|x64" /Project odm.setup
shell: cmd
- name: upload installer
uses: actions/upload-artifact@v4
with:
name: odm-installer
path: odm.setup/Release/odm.setup.msi