msvc-dev-cmd
msvc-dev-cmd copied to clipboard
GitHub Action to setup Developer Command Prompt for Microsoft Visual C++
I use this var to switch between cloned repositories in my action. Can this be copied across? Thanks
We have some code to find "vcvarsall.bat" manually when "vswhere" does not exist: https://github.com/ilammy/msvc-dev-cmd/blob/f456b805b3f63911738cb71d4f255e4e129c7e7a/index.js#L33-L44 However, the test in the current [main.yml](https://github.com/ilammy/msvc-dev-cmd/blob/f456b805b3f63911738cb71d4f255e4e129c7e7a/.github/workflows/main.yml) doesn't cover this case. I think we should test...
Version 1.7 only set environment variables that matched certain patterns. Version 1.8 sets all variables set by `vcvarsall`. This caused a failure on my application because the earlier code wouldn't...
The action randomly fails with the following log, sometimes ``` 2020-06-01T09:22:32.7166338Z Merge branch 'github-actions' of https://github.com/BoostGSoC20/ublas into github-actions 2020-06-01T09:22:32.7445679Z ##[group]Run ilammy/[email protected] 2020-06-01T09:22:32.7445841Z with: 2020-06-01T09:22:32.7445928Z toolset: 14.25 2020-06-01T09:22:32.7446020Z arch: x64 2020-06-01T09:22:32.7446116Z...
I have been using the `mscv-dev-cmd` in a couple of my github workflowss to set the VC environment variables. This stopped working across the board a couple of weeks ago,...
Attempting to use the action like this: ``` name: Python package on: [push] jobs: build: runs-on: "windows-latest" strategy: matrix: python-version: - "2.7" steps: - uses: ilammy/msvc-dev-cmd@v1 ``` results in a...
I am on https://github.com/thomasmoelhave/tpie/pull/257 , adding CI for all major platforms for the TPIE library which my research project is heavily dependent upon. Yet, due to a very weird error...
It seems when setting the CI to x86 with arch, something else needs to be set: ``` Sanity check compiler command line: clang-cl sanitycheckcpp.cc /Fesanitycheckcpp.exe /MDd /nologo /showIncludes /utf-8 /link...
According to https://devblogs.microsoft.com/cppblog/arm64ec-support-in-visual-studio/, you can build for ARM64EC architecture, which seems to have many benefits over normal ARM64 architecture. Is there a way to use this GH action to build...