add install for vs2019

This commit is contained in:
Concedo 2025-06-05 10:32:57 +08:00
parent f6bbc350f2
commit a341188f84

View file

@ -64,6 +64,20 @@ jobs:
cuda: '11.4.4'
use-github-cache: false
- name: Install Visual Studio 2019
shell: cmd
run: |
echo off
echo Downloading Visual Studio 2019 Setup
curl -fLO https://download.visualstudio.microsoft.com/download/pr/1fbe074b-8ae1-4e9b-8e83-d1ce4200c9d1/61098e228df7ba3a6a8b4e920a415ad8878d386de6dd0f23f194fe1a55db189a/vs_Enterprise.exe
echo Running Visual Studio 2019 Setup
vs_Enterprise.exe --quiet --wait --norestart --nocache ^
--add Microsoft.VisualStudio.Workload.VCTools ^
--add Microsoft.VisualStudio.Component.VC.CLI.Support ^
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
--add Microsoft.VisualStudio.Workload.UniversalBuildTools ^
--add Microsoft.VisualStudio.Component.VC.CMake.Project
- name: Build CUDA with Visual Studio 2019
id: cmake_build
shell: cmd