-
Notifications
You must be signed in to change notification settings - Fork 190
52 lines (43 loc) · 1.64 KB
/
diagnostics.tracing-ci.yml
File metadata and controls
52 lines (43 loc) · 1.64 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
52
name: Diagnostics.Tracing CI Pipeline
on:
push:
paths:
- 'Microsoft.Diagnostics.Tracing/**'
pull_request:
paths:
- 'Microsoft.Diagnostics.Tracing/**'
workflow_dispatch:
jobs:
ci:
name: Continuuous Integration
runs-on: windows-latest
steps:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Checkout repository
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Restore EventSource solution
run: |
nuget restore Microsoft.Diagnostics.Tracing\EventSource\EventSource.sln
- name: Build EventSource solution
run: |
msbuild Microsoft.Diagnostics.Tracing\EventSource\EventSource.sln -p:Configuration=Release -p:Platform='Any CPU' -p:OutDir="${{ github.workspace }}\EventSource Build Output"
- name: Upload EventSource build output as pipeline artifact
uses: actions/upload-artifact@v1
with:
name: EventSource Build Output
path: 'EventSource Build Output/'
- name: Restore TraceEvent solution
run: |
nuget restore Microsoft.Diagnostics.Tracing\TraceEvent\TraceEvent.sln
- name: Build TraceEvent solution
run: |
msbuild Microsoft.Diagnostics.Tracing\TraceEvent\TraceEvent.sln -p:Configuration=Release -p:Platform='Any CPU' -p:OutDir="${{ github.workspace }}\TraceEvent Build Output"
- name: Upload TraceEvent build output as pipeline artifact
uses: actions/upload-artifact@v1
with:
name: TraceEvent Build Output
path: 'TraceEvent Build Output/'