Skip to content

Commit

Permalink
I thought using vcpkg for nasm would work but it's not avaliable >:(
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Feb 3, 2025
1 parent 1cebfca commit cabf731
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ on:
- 'issues/gh-**'
- 'feat/**'
- main
paths:
- '**'
permissions:
contents: read
checks: write
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/ci/windows/Install-Libraries.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cabf731

Please sign in to comment.