-
Notifications
You must be signed in to change notification settings - Fork 7
80 lines (64 loc) · 1.94 KB
/
develop-ci.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
name: Develop Build
on:
workflow_dispatch:
pull_request:
branches: [ develop ]
push:
branches: [ develop ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Meadow.Logging
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Logging
path: Meadow.Logging
ref: develop
- name: Checkout Meadow.Units
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Units
path: Meadow.Units
ref: develop
- name: Checkout Meadow.Contracts
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Contracts
path: Meadow.Contracts
ref: develop
- name: Checkout Meadow.Modbus
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Modbus
path: Meadow.Modbus
ref: develop
- name: Checkout Meadow.Foundation
uses: actions/checkout@v3
with:
repository: WildernessLabs/Meadow.Foundation
path: Meadow.Foundation
ref: develop
- name: Checkout MQTTnet fork
uses: actions/checkout@v3
with:
repository: WildernessLabs/MQTTnet
path: MQTTnet
ref: develop
- name: Checkout Meadow.Core
uses: actions/checkout@v3
with:
path: Meadow.Core
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version:
7.0.x
- name: Install MAUI Workload
run: dotnet workload install maui --ignore-failed-sources
- name: Workload Restore Meadow.Core
run: dotnet workload restore Meadow.Core/source/Meadow.Core.sln
- name: Build Meadow.Core
run: dotnet build -c Release Meadow.Core/source/Meadow.Core.sln
- name: Test Core.Unit.Tests
run: dotnet test -c Release --no-build Meadow.Core/source/Tests/Core.Unit.Tests/Core.Unit.Tests.csproj