-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (43 loc) · 1.6 KB
/
Copy pathLightTextEditorPlusBuild.yml
File metadata and controls
51 lines (43 loc) · 1.6 KB
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
name: LightTextEditorPlusBuild
on: push
jobs:
BuildInWindows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
3.1.x
6.0.x
8.0.x
9.0.x
10.0.x
- name: Build
run: "dotnet build --configuration release"
- name: Test
run: dotnet test --configuration release -v:n --tl:off --logger:"console;verbosity=detailed" --no-build
- name: BuildWithAot
run: dotnet publish -r win-x86 -p:ValidateExecutableReferencesMatchSelfContained=false .\Demos\AvaloniaDemo\LightTextEditorPlus.AvaloniaDemo.csproj
BuildInLinux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
3.1.x
6.0.x
8.0.x
9.0.x
10.0.x
- name: Build LightTextEditorPlus.Core
run: dotnet build --configuration release LightTextEditorPlus.Core/LightTextEditorPlus.Core.csproj
- name: Build LightTextEditorPlus.AvaloniaDemo
run: dotnet build --configuration release Demos/AvaloniaDemo/LightTextEditorPlus.AvaloniaDemo.csproj
- name: BuildWithAot
run: dotnet publish -r linux-x64 -p:ValidateExecutableReferencesMatchSelfContained=false Demos/AvaloniaDemo/LightTextEditorPlus.AvaloniaDemo.csproj
- name: Test
run: dotnet test --configuration release -v:n --tl:off --logger:"console;verbosity=detailed" Tests/LightTextEditorPlus.Core.Tests/LightTextEditorPlus.Core.Tests.csproj