From a6187ac7049808507ae435db64de0c8dc10e104a Mon Sep 17 00:00:00 2001 From: alehandru Date: Thu, 7 Sep 2023 11:15:56 -0700 Subject: [PATCH] install nasm from zip file --- .github/workflows/build-windows.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index ea498dc192cf8..74ee39e87263b 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -2,7 +2,7 @@ name: Build gRPC for Windows on: push: - branches: ['nh-57056-cpp17-github-actions'] + branches: ['nh-57056-cpp17-github-actions-temp'] # Inputs for reusable workflow @@ -30,7 +30,7 @@ jobs: build: strategy: matrix: - arch: ['32', '64'] + arch: ['64'] configuration: ['Release'] fail-fast: false @@ -42,6 +42,14 @@ jobs: choco install -y nasm dir "C:/Program Files/NASM" + - name: Install NASM + shell: pwsh + run: | + mkdir -p ${{ github.workspace }}\temp\nasm + Invoke-WebRequest "https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip" -OutFile "${{ github.workspace }}\temp\nasm.zip" + Expand-Archive -LiteralPath '${{ github.workspace }}\temp\nasm.zip' -DestinationPath 'C:/nasm' + ls 'C:/nasm' + - name: CMake version installed with Visual Studio shell: pwsh working-directory: ${{ github.workspace }}