Files
bun.sh/scripts
Dylan Conway 2a41c7ec43 ci: add QEMU-based baseline CPU verification steps
Add CI steps that verify baseline builds don't use CPU instructions
beyond their target. Uses QEMU user-mode emulation with restricted
CPU features — any illegal instruction causes SIGILL and fails the build.

Platforms verified:
- linux-x64-baseline (glibc): qemu-x86_64 -cpu Nehalem (catches AVX/AVX2)
- linux-x64-musl-baseline: same
- linux-aarch64 (glibc): qemu-aarch64 -cpu cortex-a35 (catches LSE/SVE)
- linux-aarch64-musl: same

Each step runs two smoke tests under QEMU:
1. bun --version (startup + linker + static init)
2. bun -e eval (JSC initialization + basic execution)
2026-01-29 12:08:51 -08:00
..
2024-10-25 23:50:12 -07:00
2025-11-23 15:09:43 -08:00
2025-11-23 15:09:43 -08:00
2025-11-23 15:09:43 -08:00
2025-01-16 22:40:39 -08:00
2025-11-10 14:38:26 -08:00
2024-12-12 03:21:56 -08:00
2025-09-14 18:48:26 -07:00
fmt
2025-09-12 17:24:47 -07:00
2024-08-27 14:13:21 -07:00
2025-07-10 00:10:43 -07:00
2024-06-14 14:52:20 -07:00
2024-12-12 03:21:56 -08:00