-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (46 loc) · 1.52 KB
/
main.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
55
56
57
58
59
60
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
# test worker
Dataway_Worker:
# The type of runner that the job will run on
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# setup msbuild
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
# setup nuget
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.5
# restore nuget packages
- name: restore nuget packages
run: nuget restore "Dataway.sln"
# build project
- name: build
run: msbuild "Dataway Worker\\Dataway Worker.csproj" /p:Configuration=Release /p:GeneratePackageOnBuild=false
# test client
Dataway_Client:
# The type of runner that the job will run on
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
# setup msbuild
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
# setup nuget
- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.5
# restore nuget packages
- name: restore nuget packages
run: nuget restore "Dataway.sln"
# build project
- name: build
run: msbuild "Dataway Client\\Dataway Client.csproj" /p:Configuration=Release /p:GeneratePackageOnBuild=false