-
-
Notifications
You must be signed in to change notification settings - Fork 41
137 lines (136 loc) · 4.32 KB
/
dotnet.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
name: MTConnect.NET
on:
push:
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
env:
DOTNET_VERSION: '7.0.x'
jobs:
MTConnect-NET-Common:
name: build-and-test-${{matrix.os}}-MTConnect-NET-Common
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-Common
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-Common
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-Common
MTConnect-NET-HTTP:
name: build-and-test-${{matrix.os}}-MTConnect-NET-HTTP
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-HTTP
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-HTTP
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-HTTP
MTConnect-NET-HTTP-AspNetCore:
name: build-and-test-${{matrix.os}}-MTConnect-NET-HTTP-AspNetCore
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-HTTP-AspNetCore
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-HTTP-AspNetCore
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-HTTP-AspNetCore
MTConnect-NET-XML:
name: build-and-test-${{matrix.os}}-MTConnect-NET-XML
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-XML
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-XML
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-XML
MTConnect-NET-SHDR:
name: build-and-test-${{matrix.os}}-MTConnect-NET-SHDR
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-SHDR
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-SHDR
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-SHDR
MTConnect-NET-MQTT:
name: build-and-test-${{matrix.os}}-MTConnect-NET-MQTT
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Clean
run: dotnet clean --configuration Release
working-directory: src/MTConnect.NET-MQTT
- name: Build
run: dotnet build --configuration Release --force
working-directory: src/MTConnect.NET-MQTT
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: src/MTConnect.NET-MQTT