-
-
Notifications
You must be signed in to change notification settings - Fork 11
95 lines (91 loc) · 4.12 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
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Publish ism7mqtt Windows
run: dotnet publish -c release -r win-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7mqtt/ism7mqtt.csproj
- name: Publish ism7mqtt Linux
run: dotnet publish -c release -r linux-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7mqtt/ism7mqtt.csproj
- name: Publish ism7mqtt Linux ARM
run: dotnet publish -c release -r linux-arm -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7mqtt/ism7mqtt.csproj
- name: Publish ism7mqtt Linux ARM64
run: dotnet publish -c release -r linux-arm64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7mqtt/ism7mqtt.csproj
- name: Publish ism7proxy Windows
run: dotnet publish -c release -r win-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7proxy/ism7proxy.csproj
- name: Publish ism7proxy Linux
run: dotnet publish -c release -r linux-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7proxy/ism7proxy.csproj
- name: Publish ism7proxy Linux ARM
run: dotnet publish -c release -r linux-arm -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7proxy/ism7proxy.csproj
- name: Publish ism7proxy Linux ARM64
run: dotnet publish -c release -r linux-arm64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7proxy/ism7proxy.csproj
- name: Publish ism7config Windows
run: dotnet publish -c release -r win-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7config/ism7config.csproj
- name: Publish ism7config Linux
run: dotnet publish -c release -r linux-x64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7config/ism7config.csproj
- name: Publish ism7config Linux ARM
run: dotnet publish -c release -r linux-arm -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7config/ism7config.csproj
- name: Publish ism7config Linux ARM64
run: dotnet publish -c release -r linux-arm64 -p:PublishTrimmed=True --sc -nowarn:IL2026,IL2104 src/ism7config/ism7config.csproj
- uses: actions/upload-artifact@v4
with:
name: ism7mqtt-win-x64
path: src/ism7mqtt/bin/release/net8.0/win-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7mqtt-linux-x64
path: src/ism7mqtt/bin/release/net8.0/linux-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7mqtt-linux-arm
path: src/ism7mqtt/bin/release/net8.0/linux-arm/publish
- uses: actions/upload-artifact@v4
with:
name: ism7mqtt-linux-arm64
path: src/ism7mqtt/bin/release/net8.0/linux-arm64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7proxy-win-x64
path: src/ism7proxy/bin/release/net8.0/win-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7proxy-linux-x64
path: src/ism7proxy/bin/release/net8.0/linux-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7proxy-linux-arm
path: src/ism7proxy/bin/release/net8.0/linux-arm/publish
- uses: actions/upload-artifact@v4
with:
name: ism7proxy-linux-arm64
path: src/ism7proxy/bin/release/net8.0/linux-arm64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7config-win-x64
path: src/ism7config/bin/release/net8.0/win-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7config-linux-x64
path: src/ism7config/bin/release/net8.0/linux-x64/publish
- uses: actions/upload-artifact@v4
with:
name: ism7config-linux-arm
path: src/ism7config/bin/release/net8.0/linux-arm/publish
- uses: actions/upload-artifact@v4
with:
name: ism7config-linux-arm64
path: src/ism7config/bin/release/net8.0/linux-arm64/publish