From cabf7315c159966eb067818485bc30dccd963244 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 3 Feb 2025 04:01:10 -0800 Subject: [PATCH] I thought using `vcpkg` for nasm would work but it's not avaliable >:( --- .github/workflows/CI.yaml | 6 ++++++ src/ci/windows/Install-Libraries.ps1 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index d7a5294b4..8b20950eb 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -44,6 +44,8 @@ on: - 'issues/gh-**' - 'feat/**' - main + paths: + - '**' permissions: contents: read checks: write @@ -91,6 +93,10 @@ jobs: if: ${{matrix.runner == 'windows-latest'}} run: ./src/ci/windows/Install-Libraries.ps1 + - name: 'Windows: Install `nasm` for `aws-lc-sys`' + if: ${{matrix.runner == 'windows-latest'}} + uses: ilammy/setup-nasm@v1 + - uses: taiki-e/cache-cargo-install-action@v2 with: tool: cargo-nextest diff --git a/src/ci/windows/Install-Libraries.ps1 b/src/ci/windows/Install-Libraries.ps1 index 1a11dae66..2c9ae0935 100644 --- a/src/ci/windows/Install-Libraries.ps1 +++ b/src/ci/windows/Install-Libraries.ps1 @@ -19,6 +19,6 @@ Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force . "$PSScriptRoot\..\_shared.ps1" StartGroup "Installing system libraries..." -Write-Host "$ vcpkg --triplet x64-windows-static-md install openssl nasm" -vcpkg --triplet x64-windows-static-md install openssl nasm +Write-Host "$ vcpkg --triplet x64-windows-static-md install openssl" +vcpkg --triplet x64-windows-static-md install openssl EndGroup