File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : .NET
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : windows-latest
13+
14+ strategy :
15+ matrix :
16+ platform : [x64, x86, ARM64]
17+
18+ steps :
19+ - uses : actions/checkout@v6
20+
21+ - name : Setup .NET
22+ uses : actions/setup-dotnet@v5
23+ with :
24+ dotnet-version : 10.x
25+ cache : true
26+ cache-dependency-path : " **/packages.lock.json"
27+
28+ - name : Restore and validate lock files
29+ run : dotnet restore --use-lock-file --force-evaluate --locked-mode -p:Platform=${{ matrix.platform }}
30+
31+ - name : Build
32+ run : dotnet build --no-restore -p:Platform=${{ matrix.platform }}
33+
34+ - name : Test (x64 only)
35+ if : matrix.platform == 'x64'
36+ run : dotnet test --no-build -p:Platform=${{ matrix.platform }} --verbosity normal
You can’t perform that action at this time.
0 commit comments