Skip to content

Commit c028a8d

Browse files
committed
ci(windows/msvc): install nasm and ninja for aws-lc
1 parent dd4af2c commit c028a8d

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ 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 == ''
64+
- name: Install ninja
65+
if: matrix.mingwdir == ''
66+
run: |
67+
choco install ninja -y
68+
ninja.exe --version
6169
- name: Install mingw
6270
uses: bwoodsend/setup-winlibs-action@v1
6371
if: matrix.mingwdir != ''
@@ -200,6 +208,14 @@ jobs:
200208
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
201209
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
202210
shell: powershell
211+
- name: Install NASM
212+
uses: ilammy/setup-nasm@v1
213+
if: matrix.mingwdir == ''
214+
- name: Install ninja
215+
if: matrix.mingwdir == ''
216+
run: |
217+
choco install ninja -y
218+
ninja.exe --version
203219
- name: Install mingw
204220
uses: bwoodsend/setup-winlibs-action@v1
205221
if: matrix.mingwdir != ''
@@ -348,6 +364,14 @@ jobs:
348364
New-Item "${env:USERPROFILE}\.cargo\registry" -ItemType Directory -Force
349365
New-Item "${env:USERPROFILE}\.cargo\git" -ItemType Directory -Force
350366
shell: powershell
367+
- name: Install NASM
368+
uses: ilammy/setup-nasm@v1
369+
if: matrix.mingwdir == ''
370+
- name: Install ninja
371+
if: matrix.mingwdir == ''
372+
run: |
373+
choco install ninja -y
374+
ninja.exe --version
351375
- name: Install mingw
352376
uses: bwoodsend/setup-winlibs-action@v1
353377
if: matrix.mingwdir != ''

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ 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 == ''
57+
- name: Install ninja
58+
if: matrix.mingwdir == ''
59+
run: |
60+
choco install ninja -y
61+
ninja.exe --version
5462
- name: Install mingw
5563
uses: bwoodsend/setup-winlibs-action@v1
5664
if: matrix.mingwdir != ''

0 commit comments

Comments
 (0)