Trying to get vcvarsall.bat to "stick" #26887
-
I’m attempting to get a simple CI action setup for my C language repo on Windows. I have a simple .bat file that assumes cl.exe is accessible, since my normal workflow is to open a new cmd/powershell window, call the vcvars batch file, and then call my build.bat file. I can successfully call the vcvars batch file, but it seems that it doesn’t stick around because calling my batch file immediately fails with:
Linked below is my example yml: github.comrdunnington/rjd/blob/a12fb7fe2610fccbc2d6cd7743422b8b98329529/.github/workflows/c-cpp.yml
This file has been truncated. show original |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I figured it out. I needed to use the cmd shell and call the batch file like so:
|
Beta Was this translation helpful? Give feedback.
I figured it out. I needed to use the cmd shell and call the batch file like so: