-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (46 loc) · 1.54 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: CI
on:
push
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install NPM Dependencies
run: npm install
- name: Compile VSCode Extension
run: npm run compile
- name: Run Linter
run: npm run lint
- uses: NuGet/setup-nuget@v1
- uses: lukka/get-cmake@latest
with:
cmakeVersion: "~3.25.0"
ninjaVersion: "^1.11.1"
- uses: TheMrMilchmann/setup-msvc-dev@v2
with:
arch: x64
- name: Install VSDbg Engine Extension Dependencies
run: |
nuget install Microsoft.VSSDK.Debugger.VSDebugEng -Version 17.0.2012801
nuget install Microsoft.VSSDK.Debugger.VSDConfigTool -Version 17.0.2012801
- name: Configure VSDbg Engine Extension
run: |
mkdir build
cd build
cmake "${{ github.workspace }}\vsdbg-engine-extension" `
-G Ninja `
-DCMAKE_BUILD_TYPE=Debug `
-DCMAKE_PREFIX_PATH="${{ github.workspace }}\Microsoft.VSSDK.Debugger.VSDebugEng.17.0.2012801\build\native;${{ github.workspace }}\Microsoft.VSSDK.Debugger.VSDConfigTool.17.0.2012801\build" `
-DCMAKE_INSTALL_PREFIX=vsdbg-engine-extension
- name: Build VSDbg Engine Extension
run: |
cd build
ninja
- name: Compile VSCode Test Sources
run: npm run pretest
- name: Run VSCode unit tests
run: npm run test