-
-
Notifications
You must be signed in to change notification settings - Fork 282
68 lines (57 loc) · 2.01 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
name: .NET
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
Build:
runs-on: windows-latest
strategy:
matrix:
configuration: [
GitHub
]
solution: [
src,
sample/ReaLTaiizor.Defender,
sample/ReaLTaiizor.GenshinImpact,
sample/ReaLTaiizor.Instagram,
sample/ReaLTaiizor.Kaspersky,
sample/ReaLTaiizor.Login,
sample/ReaLTaiizor.Payment,
sample/ReaLTaiizor.Player,
sample/ReaLTaiizor.Rufus,
sample/ReaLTaiizor.Splash,
sample/ReaLTaiizor.Store,
sample/ReaLTaiizor.XAMPP,
ready/ReaLTaiizor.AppLocker,
ready/ReaLTaiizor.Hashing,
ready/ReaLTaiizor.MAChanger,
ready/ReaLTaiizor.Nerator,
ready/ReaLTaiizor.Portscan,
ready/ReaLTaiizor.Stopwatch,
ready/ReaLTaiizor.Translate,
demo/ReaLTaiizor.UI,
demo/ReaLTaiizor.UX
]
steps:
- uses: actions/checkout@v3
# Ensure .editorconfig exists in the solution's directory
- name: Copy .editorconfig for current solution
shell: pwsh
run: |
$solutionPath = "${{ matrix.solution }}"
$solutionDir = Split-Path -Path $solutionPath
Copy-Item -Path ".editorconfig" -Destination "$solutionDir\.editorconfig" -Force
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.0.x
dotnet-quality: preview
- name: Restore the ReaLTaiizor
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }}
- name: Build the ReaLTaiizor
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0649,CA1416,NU5104,NETSDK1138,SYSLIB0003
- name: Test the ReaLTaiizor
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-build --verbosity normal