File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 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 :
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
You can’t perform that action at this time.
0 commit comments