diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12c61fa7a..94e6637c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,10 +67,15 @@ 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: | - curl -O https://developer.download.nvidia.com/compute/cuda/11.2.2/network_installers/cuda_11.2.2_win10_network.exe + 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')