Skip to content

Commit f800f2c

Browse files
committed
ci: adding avalonia build and testing
1 parent 3f16ed0 commit f800f2c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,26 @@ jobs:
7171
- name: Run Swift tests
7272
working-directory: swift-gui
7373
run: xcodebuild test -project ARMEmulator.xcodeproj -scheme ARMEmulator -destination 'platform=macOS' | xcbeautify
74+
75+
avalonia-gui:
76+
runs-on: ubuntu-latest
77+
78+
steps:
79+
- uses: actions/checkout@v4
80+
81+
- name: Set up .NET
82+
uses: actions/setup-dotnet@v4
83+
with:
84+
dotnet-version: '10.0.x'
85+
86+
- name: Restore dependencies
87+
working-directory: avalonia-gui
88+
run: dotnet restore
89+
90+
- name: Build Avalonia app
91+
working-directory: avalonia-gui
92+
run: dotnet build --no-restore
93+
94+
- name: Run Avalonia tests
95+
working-directory: avalonia-gui
96+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)