-
Notifications
You must be signed in to change notification settings - Fork 130
47 lines (46 loc) · 1.35 KB
/
System.Waf.CI.yml
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
name: System.Waf.CI
on:
push:
paths:
- 'src/*'
- 'src/System.Waf/**'
- 'src/Samples.UITest/**'
- '.github/workflows/**'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: dotnet build ./src/System.Waf/System.Waf.sln -c Release -p:ContinuousIntegrationBuild=true --tl:on
- name: Test
run: dotnet test ./src/System.Waf/System.Waf.sln -c Release --no-build --tl:on
- name: Upload NuGet Packages
uses: actions/upload-artifact@v4
with:
name: Packages
if-no-files-found: error
path: |
src/System.Waf/System.Waf/**/*.nupkg
src/System.Waf/System.Waf/**/*.snupkg
- name: UI Test
run: dotnet test ./src/Samples.UITest/Samples.UITest.sln --logger "console;verbosity=detailed" -maxCpuCount:1
- name: Upload UI Test results
uses: actions/upload-artifact@v4
if: always()
with:
name: UITestResults
if-no-files-found: ignore
path: |
out/Samples.UITest/
- name: Upload UI Test App logs
uses: actions/upload-artifact@v4
if: always()
with:
name: UITestAppLogs
if-no-files-found: ignore
path: |
~/AppData/Local/Waf Writer/Log/
~/AppData/Local/Waf Book Library/Log/