From d37d309335949e4629ae52303907e26ce9c9c6b1 Mon Sep 17 00:00:00 2001 From: ochafik Date: Sat, 8 Feb 2025 15:17:48 +0000 Subject: [PATCH] Install alternative curl to maybe avoid flaky auto certification revocation --- .github/workflows/build.yml | 50 +++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6841ba589..a5028a4df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -693,6 +693,14 @@ jobs: - name: Clone uses: actions/checkout@v4 + - name: Install Deps + run: | + choco install curl + + - name: Check curl version + run: | + curl --version + - name: ccache uses: hendrikmuhs/ccache-action@v1.2.16 with: @@ -768,6 +776,14 @@ jobs: with: fetch-depth: 0 + - name: Install Deps + run: | + choco install ninja curl + + - name: Check curl version + run: | + curl --version + - name: ccache uses: hendrikmuhs/ccache-action@v1.2.16 with: @@ -803,11 +819,6 @@ jobs: Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}" Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin" - - name: Install Ninja - id: install_ninja - run: | - choco install ninja - - name: Install OpenCL Headers and Libs id: install_opencl if: ${{ matrix.build == 'llvm-arm64-opencl-adreno' }} @@ -953,6 +964,14 @@ jobs: with: fetch-depth: 0 + - name: Install Deps + run: | + choco install ninja curl + + - name: Check curl version + run: | + curl --version + - name: Install ccache uses: hendrikmuhs/ccache-action@v1.2.16 with: @@ -1016,11 +1035,6 @@ jobs: echo "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 echo "CUDA_PATH_V12_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8 - - name: Install Ninja - id: install_ninja - run: | - choco install ninja - - name: Build id: cmake_build shell: cmd @@ -1095,6 +1109,14 @@ jobs: with: fetch-depth: 0 + - name: Install Deps + run: | + choco install curl + + - name: Check curl version + run: | + curl --version + - name: ccache uses: hendrikmuhs/ccache-action@v1.2.16 with: @@ -1214,6 +1236,14 @@ jobs: with: fetch-depth: 0 + - name: Install Deps + run: | + choco install curl + + - name: Check curl version + run: | + curl --version + - name: ccache uses: hendrikmuhs/ccache-action@v1.2.16 with: