Skip to content

Commit 769c288

Browse files
authored
Merge pull request #4 from multiarc/build/pipeline
Create dotnet.yml
2 parents 208dd31 + c3213bf commit 769c288

2 files changed

Lines changed: 88 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This workflow will build a .NET project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+
name: .NET
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build-windows:
14+
15+
runs-on: windows-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup .NET 6
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: 6.0.x
23+
- name: Setup .NET 8
24+
uses: actions/setup-dotnet@v4
25+
with:
26+
dotnet-version: 8.0.x
27+
- name: Restore dependencies
28+
run: dotnet restore
29+
- name: Build
30+
run: dotnet build --no-restore
31+
- name: Test
32+
run: dotnet test --no-build --verbosity normal
33+
build-linux:
34+
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: Setup .NET 6
40+
uses: actions/setup-dotnet@v4
41+
with:
42+
dotnet-version: 6.0.x
43+
- name: Setup .NET 8
44+
uses: actions/setup-dotnet@v4
45+
with:
46+
dotnet-version: 8.0.x
47+
- name: Restore dependencies
48+
run: dotnet restore
49+
- name: Build .NET 6.0
50+
run: dotnet build --no-restore -f net6.0
51+
- name: Build .NET 8.0
52+
run: dotnet build --no-restore -f net8.0
53+
- name: Test .NET 6.0
54+
run: dotnet test --no-build --verbosity normal -f net6.0
55+
- name: Test .NET 8.0
56+
run: dotnet test --no-build --verbosity normal -f net8.0

SerializerBenchmarks.UnitTests/packages.lock.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,11 @@
302302
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
303303
}
304304
},
305+
"Microsoft.NETCore.Platforms": {
306+
"type": "Transitive",
307+
"resolved": "1.1.0",
308+
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
309+
},
305310
"Microsoft.TestPlatform.ObjectModel": {
306311
"type": "Transitive",
307312
"resolved": "17.9.0",
@@ -329,6 +334,14 @@
329334
"resolved": "1.0.1",
330335
"contentHash": "od0WujAAuPuRLoGfGNfE2iRPP7Kj+o174Oed2uirT03/Dp4rkccnEIqQl/QRHjly79sMwh6xKaIVsLqYwWtiHA=="
331336
},
337+
"NETStandard.Library": {
338+
"type": "Transitive",
339+
"resolved": "2.0.3",
340+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
341+
"dependencies": {
342+
"Microsoft.NETCore.Platforms": "1.1.0"
343+
}
344+
},
332345
"Newtonsoft.Json": {
333346
"type": "Transitive",
334347
"resolved": "13.0.3",
@@ -603,6 +616,7 @@
603616
"MemoryPack": "[1.21.1, )",
604617
"MessagePack": "[2.5.140, )",
605618
"MsgPack.Cli": "[1.0.1, )",
619+
"NETStandard.Library": "[2.0.3, )",
606620
"Newtonsoft.Json": "[13.0.3, )",
607621
"Salar.Bois": "[3.4.0, )",
608622
"Salar.Bois.LZ4": "[3.4.0, )",
@@ -971,6 +985,14 @@
971985
"System.Reflection.Emit.LightWeight": "4.3.0"
972986
}
973987
},
988+
"NETStandard.Library": {
989+
"type": "Transitive",
990+
"resolved": "2.0.3",
991+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
992+
"dependencies": {
993+
"Microsoft.NETCore.Platforms": "1.1.0"
994+
}
995+
},
974996
"Newtonsoft.Json": {
975997
"type": "Transitive",
976998
"resolved": "13.0.3",
@@ -1525,6 +1547,7 @@
15251547
"MemoryPack": "[1.21.1, )",
15261548
"MessagePack": "[2.5.140, )",
15271549
"MsgPack.Cli": "[1.0.1, )",
1550+
"NETStandard.Library": "[2.0.3, )",
15281551
"Newtonsoft.Json": "[13.0.3, )",
15291552
"Salar.Bois": "[3.4.0, )",
15301553
"Salar.Bois.LZ4": "[3.4.0, )",
@@ -1885,6 +1908,14 @@
18851908
"System.Reflection.Emit.LightWeight": "4.3.0"
18861909
}
18871910
},
1911+
"NETStandard.Library": {
1912+
"type": "Transitive",
1913+
"resolved": "2.0.3",
1914+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
1915+
"dependencies": {
1916+
"Microsoft.NETCore.Platforms": "1.1.0"
1917+
}
1918+
},
18881919
"Newtonsoft.Json": {
18891920
"type": "Transitive",
18901921
"resolved": "13.0.3",
@@ -2433,6 +2464,7 @@
24332464
"MemoryPack": "[1.21.1, )",
24342465
"MessagePack": "[2.5.140, )",
24352466
"MsgPack.Cli": "[1.0.1, )",
2467+
"NETStandard.Library": "[2.0.3, )",
24362468
"Newtonsoft.Json": "[13.0.3, )",
24372469
"Salar.Bois": "[3.4.0, )",
24382470
"Salar.Bois.LZ4": "[3.4.0, )",

0 commit comments

Comments
 (0)