Skip to content

Commit 12afcd9

Browse files
author
Timothy Mothra Lee (from Dev Box)
committed
adding build tools
1 parent b96e609 commit 12afcd9

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/codeql-daily.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21+
- name: Setup Visual Studio Build Tools
22+
uses: microsoft/setup-msbuild@v1
23+
24+
- name: Set up Windows SDK
25+
uses: ilammy/msvc-dev-cmd@v1
26+
with:
27+
sdk: 10.0.18362.0
28+
2129
- name: Set up Java 17
2230
uses: actions/setup-java@v4
2331
with:
@@ -35,7 +43,11 @@ jobs:
3543

3644
- name: Build native C++ code (Windows-specific)
3745
shell: powershell
38-
run: ./gradlew "-Dai.etw.native.build=release" :etw:native:build
46+
run: |
47+
# Set environment variables for Windows SDK and Visual Studio
48+
$env:APPINSIGHTS_WIN10_SDK_PATH = "$env:WindowsSdkDir"
49+
$env:APPINSIGHTS_VS_PATH = "${env:VCInstallDir}\..\\.."
50+
./gradlew "-Dai.etw.native.build=release" :etw:native:build --info
3951
4052
- name: Assemble
4153
# skipping build cache is needed so that all modules will be analyzed

0 commit comments

Comments
 (0)