You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by xy...@apache.org on 2023/07/25 08:08:01 UTC

[pulsar-client-cpp] branch branch-3.3 updated: Fix vcpkg install failed due to the broken NASM website

This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 79147b8  Fix vcpkg install failed due to the broken NASM website
79147b8 is described below

commit 79147b88207d95bcc4eb7fecb0b00946d385ddda
Author: Yunze Xu <xy...@163.com>
AuthorDate: Tue Jul 25 16:05:41 2023 +0800

    Fix vcpkg install failed due to the broken NASM website
    
    https://www.nasm.us/ is down so that NASM, which is depended by OpenSSL,
    cannot be downloaded.
    
    See
    https://github.com/microsoft/vcpkg/issues/32600#issuecomment-1638907069
    for the temporary workaround.
---
 .github/workflows/ci-build-binary-artifacts.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/ci-build-binary-artifacts.yaml b/.github/workflows/ci-build-binary-artifacts.yaml
index 586458d..5ffbbad 100644
--- a/.github/workflows/ci-build-binary-artifacts.yaml
+++ b/.github/workflows/ci-build-binary-artifacts.yaml
@@ -139,6 +139,11 @@ jobs:
 
       - name: Install vcpkg packages
         run: |
+          # See https://github.com/microsoft/vcpkg/issues/32600#issuecomment-1638907069
+          mkdir -p ${{ env.VCPKG_ROOT }}/downloads
+          cd ${{ env.VCPKG_ROOT }}/downloads
+          curl -O -L https://github.com/microsoft/vcpkg/files/12073957/nasm-2.16.01-win64.zip
+          cd -
           ${{ env.VCPKG_ROOT }}\vcpkg.exe install --triplet ${{ matrix.triplet }} > dependencies.txt
 
       - name: Build and package