File tree 1 file changed +14
-24
lines changed
1 file changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -7,40 +7,30 @@ concurrency:
7
7
cancel-in-progress : true
8
8
9
9
jobs :
10
- build-windows :
10
+ build-test :
11
11
12
- runs-on : windows-latest
13
12
strategy :
14
13
matrix :
15
14
dotnet-version : [ '8.x' ]
16
- target : [ 'win-x64', 'win-arm64' ]
15
+ target :
16
+ - dotnet : win-x64
17
+ os : windows-2025
18
+ - dotnet : win-arm64
19
+ os : windows-11-arm
20
+ - dotnet : linux-x64
21
+ os : ubuntu-24.04
22
+ - dotnet : linux-arm64
23
+ os : ubuntu-24.04-arm
24
+
25
+ runs-on : ${{ matrix.target.os }}
17
26
18
27
steps :
19
28
- uses : actions/checkout@v4
20
29
- name : Setup dotnet ${{ matrix.dotnet-version }}
21
30
uses : actions/setup-dotnet@v3
22
31
with :
23
32
dotnet-version : ${{ matrix.dotnet-version }}
24
- - name : Build ${{ matrix.target }}
25
- run : dotnet publish -r ${{ matrix.target }}
26
- - name : Run tests
27
- run : dotnet test
28
-
29
- build-linux :
30
-
31
- runs-on : ubuntu-22.04
32
- strategy :
33
- matrix :
34
- dotnet-version : [ '8.x' ]
35
- target : [ 'linux-x64' ]
36
-
37
- steps :
38
- - uses : actions/checkout@v4
39
- - name : Setup dotnet ${{ matrix.dotnet-version }}
40
- uses : actions/setup-dotnet@v3
41
- with :
42
- dotnet-version : ${{ matrix.dotnet-version }}
43
- - name : Build ${{ matrix.target }}
44
- run : dotnet publish -r ${{ matrix.target }}
33
+ - name : Build ${{ matrix.target.dotnet }}
34
+ run : dotnet publish -r ${{ matrix.target.dotnet }}
45
35
- name : Run tests
46
36
run : dotnet test
You can’t perform that action at this time.
0 commit comments