Skip to content

Commit beca5fb

Browse files
committed
ci(windows): install NASM for msvc builds
1 parent fdeb485 commit beca5fb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
5959
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
6060
shell: powershell
61+
- name: Install NASM
62+
uses: ilammy/setup-nasm@v1
63+
if: matrix.mingwdir == ''
6164
- name: Install mingw
6265
uses: bwoodsend/setup-winlibs-action@v1
6366
if: matrix.mingwdir != ''
@@ -200,6 +203,9 @@ jobs:
200203
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
201204
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
202205
shell: powershell
206+
- name: Install NASM
207+
uses: ilammy/setup-nasm@v1
208+
if: matrix.mingwdir == ''
203209
- name: Install mingw
204210
uses: bwoodsend/setup-winlibs-action@v1
205211
if: matrix.mingwdir != ''
@@ -348,6 +354,9 @@ jobs:
348354
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
349355
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
350356
shell: powershell
357+
- name: Install NASM
358+
uses: ilammy/setup-nasm@v1
359+
if: matrix.mingwdir == ''
351360
- name: Install mingw
352361
uses: bwoodsend/setup-winlibs-action@v1
353362
if: matrix.mingwdir != ''

ci/actions-templates/windows-builds-template.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs: # skip-master skip-pr skip-stable
5151
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
5252
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
5353
shell: powershell
54+
- name: Install NASM
55+
uses: ilammy/setup-nasm@v1
56+
if: matrix.mingwdir == ''
5457
- name: Install mingw
5558
uses: bwoodsend/setup-winlibs-action@v1
5659
if: matrix.mingwdir != ''

0 commit comments

Comments
 (0)