From 057b5ff760ec9ddd2471ce41a3b0984cf7a04dcd Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 23 Dec 2021 13:44:04 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 085dc150..b451e76a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -183,7 +183,9 @@ jobs: if: matrix.goal != 'test' && matrix.os == 'windows-2022' shell: powershell run: | - & cmd /c 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && set MAKE=nmake && set > %temp%\vcvars.txt' + choco install nasm --no-progress + $env:PATH="$ENV:PATH;c:\Program Files\NASM\" + cmd /c 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && set MAKE=nmake && set > %temp%\vcvars.txt' Get-Content "$env:temp\vcvars.txt" | Foreach-Object { if ($_ -match "^(.*?)=(.*)$") { Set-Content "env:\$($matches[1])" $matches[2]