diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc926fc0f..fb186aa14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,26 +67,10 @@ jobs: - name: Check out repository uses: actions/checkout@v2 - - name: Set up Python - if: startsWith(matrix.image, 'windows') - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Download CUDA installer - if: startsWith(matrix.image, 'windows') - run: | - python -c "from urllib.request import urlretrieve; urlretrieve('https://developer.download.nvidia.com/compute/cuda/11.2.2/network_installers/cuda_11.2.2_win10_network.exe', 'cuda_11.2.2_win10_network.exe')" - - name: Build on Windows if: startsWith(matrix.image, 'windows') run: | $env:PATH += ';C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin' - $env:CudaToolkitDir = 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2' - Start-Process -FilePath "cuda_11.2.2_win10_network.exe" -ArgumentList "-s nvcc_11.2 visual_studio_integration_11.2 cudart_11.2" -NoNewWindow -Wait - if ($LASTEXITCODE -ne 0) { - Write-Error "cuda_11.2.2_win10_network.exe FAILED" - exit 201 - } .\build.bat ${{ matrix.options }} ${{ matrix.asm }} - name: Build on Linux