-
Notifications
You must be signed in to change notification settings - Fork 0
98 lines (88 loc) · 3.4 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
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build & Test check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
# Pre-build setup
- name: Restore workloads
working-directory: ./src
run: dotnet workload restore
# Raygun.Blazor
- name: Build Raygun.Blazor
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Blazor/Raygun.Blazor.csproj
# Raygun.Blazor tests
- name: Test Raygun.Blazor
continue-on-error: true
working-directory: ./src
run: dotnet test Raygun.Tests.Blazor/Raygun.Tests.Blazor.csproj
# Raygun.Blazor.Server
- name: Build Raygun.Blazor.Server
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Blazor.Server/Raygun.Blazor.Server.csproj
# Raygun.Blazor.Server tests
- name: Test Raygun.Blazor.Server
continue-on-error: true
working-directory: ./src
run: dotnet test Raygun.Tests.Blazor.Server/Raygun.Tests.Blazor.Server.csproj
# Raygun.Blazor.Server sample
- name: Build Raygun.Samples.Blazor.Server
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Server/Raygun.Samples.Blazor.Server.csproj
# Raygun.Blazor.WebAssembly
- name: Build Raygun.Blazor.WebAssembly
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Blazor.WebAssembly/Raygun.Blazor.WebAssembly.csproj
# Raygun.Blazor.WebAssembly sample
- name: Build Raygun.Samples.Blazor.WebAssembly
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Server/Raygun.Samples.Blazor.Server.csproj
# Raygun.Blazor.Maui
- name: Build Raygun.Blazor.Maui
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Blazor.Maui/Raygun.Blazor.Maui.csproj
# Raygun.Blazor.Maui Windows sample
- name: Build Raygun.Samples.Blazor.Maui Windows
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Maui/Raygun.Samples.Blazor.Maui.csproj -f net8.0-windows10.0.19041.0
# Raygun.Blazor.Maui Android sample
- name: Build Raygun.Samples.Blazor.Maui Android
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Maui/Raygun.Samples.Blazor.Maui.csproj -f net8.0-android
# Raygun.Blazor.Maui iOS sample
- name: Build Raygun.Samples.Blazor.Maui ios
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Maui/Raygun.Samples.Blazor.Maui.csproj -f net8.0-ios
# Raygun.Blazor.Maui macOS sample
- name: Build Raygun.Samples.Blazor.Maui maccatalyst
continue-on-error: true
working-directory: ./src
run: dotnet build Raygun.Samples.Blazor.Maui/Raygun.Samples.Blazor.Maui.csproj -f net8.0-maccatalyst