Skip to content

Commit d5e04a9

Browse files
committed
More CI
1 parent f23a991 commit d5e04a9

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

.github/workflows/CI.yml

+14-24
Original file line numberDiff line numberDiff line change
@@ -7,40 +7,30 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
10-
build-windows:
10+
build-test:
1111

12-
runs-on: windows-latest
1312
strategy:
1413
matrix:
1514
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 }}
1726

1827
steps:
1928
- uses: actions/checkout@v4
2029
- name: Setup dotnet ${{ matrix.dotnet-version }}
2130
uses: actions/setup-dotnet@v3
2231
with:
2332
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 }}
4535
- name: Run tests
4636
run: dotnet test

0 commit comments

Comments
 (0)