簡體   English   中英

如何使用 Github Actions 中的 MSVC 編譯器?

[英]How can I use the MSVC compiler from Github Actions?

我想要一個使用 MSVC++ cl編譯器編譯我的代碼的管道,因為我的本機項目是在 Visual Studio 中完成的。 我如何導入這些工具,它們在哪些操作系統上可用?

我找到了一個 GitHub 存儲庫,它允許您使用 MSVC++ 工具。 只需在您的工作之前添加:
- uses: ilammy/msvc-dev-cmd@v1
這是我的工作流程文件以供參考:
https://github.com/satanic-santa/spark/blob/master/.github/workflows/compile.yml

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM