We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb2616 commit c7a6c4dCopy full SHA for c7a6c4d
.github/workflows/vc.yml
@@ -0,0 +1,22 @@
1
+name: Test VCToolsRedistDir
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
7
+jobs:
8
+ test:
9
+ runs-on: windows-2019
10
+ steps:
11
+ - name: Check if VCToolsRedistDir exists
12
+ shell: cmd
13
+ run: |
14
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
15
+ :: Print all environment variables for debugging
16
+ set
17
+ :: Check if VCToolsRedistDir is set
18
+ if not defined VCToolsRedistDir (
19
+ echo Error: Environment variable VCToolsRedistDir is not set.
20
+ exit /b 1
21
+ )
22
+ echo VCToolsRedistDir is set to %VCToolsRedistDir%
0 commit comments