From: Dmitry Misharov Date: Tue, 22 Apr 2025 07:52:14 +0000 (+0200) Subject: Replace ilammy/setup-nasm with nasm install from choco X-Git-Tag: openssl-3.3.4~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4daaf97e3bf9f7911e0daac88c373b914490ba0;p=thirdparty%2Fopenssl.git Replace ilammy/setup-nasm with nasm install from choco Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27462) (cherry picked from commit 1ad186986c8c90dfc58666531c0554641e022dbb) --- diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml index b515c113ec0..2ca98d7a542 100644 --- a/.github/workflows/os-zoo.yml +++ b/.github/workflows/os-zoo.yml @@ -140,7 +140,10 @@ jobs: - name: checkout fuzz/corpora submodule run: git submodule update --init --depth 1 fuzz/corpora - uses: ilammy/msvc-dev-cmd@v1 - - uses: ilammy/setup-nasm@v1 + - name: install nasm + run: | + choco install nasm + "C:\Program Files\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append - name: prepare the build directory run: mkdir _build - name: config diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c4879e22f42..7eef64c0efd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,9 +35,10 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 with: arch: ${{ matrix.platform.arch }} - - uses: ilammy/setup-nasm@v1 - with: - platform: ${{ matrix.platform.arch }} + - name: install nasm + run: | + choco install nasm ${{ matrix.platform.arch == 'win32' && '--x86' || '' }} + "C:\Program Files${{ matrix.platform.arch == 'win32' && ' (x86)' || '' }}\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append - name: prepare the build directory run: mkdir _build - name: config diff --git a/.github/workflows/windows_comp.yml b/.github/workflows/windows_comp.yml index 104e93d4091..81b54696c87 100644 --- a/.github/workflows/windows_comp.yml +++ b/.github/workflows/windows_comp.yml @@ -26,7 +26,10 @@ jobs: - name: checkout fuzz/corpora submodule run: git submodule update --init --depth 1 fuzz/corpora - uses: ilammy/msvc-dev-cmd@v1 - - uses: ilammy/setup-nasm@v1 + - name: install nasm + run: | + choco install nasm + "C:\Program Files\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append - name: prepare the build directory run: mkdir _build - name: Get zstd @@ -68,7 +71,10 @@ jobs: - name: checkout fuzz/corpora submodule run: git submodule update --init --depth 1 fuzz/corpora - uses: ilammy/msvc-dev-cmd@v1 - - uses: ilammy/setup-nasm@v1 + - name: install nasm + run: | + choco install nasm + "C:\Program Files\NASM" | Out-File -FilePath "$env:GITHUB_PATH" -Append - name: prepare the build directory run: mkdir _build - name: Get brotli