Files
Marcus Perryman da4d45a18b Skip unnecessary NASM installation for Windows Arm releases - unused for Arm targets (#2204)
## Summary

Skip the unnecessary NASM installation for native Windows Arm release
builds as its unused and saves around **40.25 seconds / 8.6% on mean job
time** .

Minimum change, two lines (including comment) to gate install only when
on Windows Arm targeting Windows Arm. NASM is an x86/x64 assembler.

## Measured impact 

[24-job
comparison](https://github.com/marcpems/IronRDP-ci-benchmark/actions/runs/39747378333),
using only `windows-11-arm`, pinned upstream `bf5d4a47` (including
#2186), cold isolated caches, and eight observations per variant:

| Variant | Successful agent builds | Mean complete job |
|---|---:|---:|
| With NASM | 8/8 | 469.0 s |
| Without NASM | 8/8 | 428.8 s |
| Without NASM, with a 30-second delay | 8/8 | 452.1 s |

The average reduction was **36 s / 7.8%** with no compilation or
cache-initialization penalty (verified).

[Full methodology, raw measurements, reproducible analysis, and
limitations](https://github.com/marcpems/IronRDP-ci-benchmark/blob/e959d48649bc36c9adb23d92f4b517d6b917135b/benchmarks/nasm-refs-replication/README.md).

## Verification by LLM 

- Run 24 jobs. All 24 caches were independently confirmed through
GitHub's API.
- Omission jobs asserted NASM absence. Every build compiled the same 427
Cargo units/features and used the same native `aws-lc-sys`
aarch64/`clang-cl` configuration.
- Actionlint and 24 OS/architecture/target condition cases passed.
Removing the new condition leaves the workflow semantically identical to
today's upstream workflow; the shared action and its other callers are
untouched.
- The repeated campaign tested the agent. Earlier viewer comparisons
reached identical existing `libopus_sys` linker errors (`__imp_floor`,
`__imp_lrintf`) with and without NASM; this is not a viewer-failure fix.

---------

Co-authored-by: marcpems <20582938+marcpems@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Marc-André Moreau <mamoreau@devolutions.net>
2026-10-22 11:34:51 -04:00
..