also looking at this
fix(ci): publish darwin-x86-64 (Intel macOS) — retire macos-13 + fix bun bootstrap
#205
7 files
+427
-348
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -92,7 +92,27 @@ jobs: | ||
| 92 | 92 | uses: ./packages/action |
| 93 | 93 | |
| 94 | 94 | - name: Install dependencies |
| 95 | run: bun install | |
| 95 | run: | | |
| 96 | # TEMP DIAGNOSTIC (darwin-x86-64 bun bootstrap) — remove after triage | |
| 97 | if [ "$" = "darwin-x86-64" ]; then | |
| 98 | echo "::group::darwin-x86-64 bun diagnostics" | |
| 99 | echo "uname -m: $(uname -m)" | |
| 100 | sysctl -n machdep.cpu.brand_string 2>/dev/null || true | |
| 101 | echo "AVX2: $(sysctl -n machdep.cpu.leaf7_features 2>/dev/null | tr ' ' '\n' | grep -i avx2 || echo NONE)" | |
| 102 | echo "which -a bun:"; which -a bun || true | |
| 103 | echo "bun --version:"; bun --version || echo "bun --version FAILED ($?)" | |
| 104 | echo "bun --revision:"; bun --revision || true | |
| 105 | echo "file \$(which bun):"; file "$(which bun)" 2>/dev/null || true | |
| 106 | echo "node_modules/bun (pre-install):"; ls -la node_modules/bun 2>/dev/null || echo "(absent)" | |
| 107 | echo "::endgroup::" | |
| 108 | echo "::group::bun install --verbose tail" | |
| 109 | bun install --verbose 2>&1 | tail -80 || echo "bun install exited $?" | |
| 110 | echo "::endgroup::" | |
| 111 | echo "node_modules/bun (post-install):"; ls -la node_modules/bun 2>/dev/null || echo "(absent)" | |
| 112 | cat node_modules/bun/package.json 2>/dev/null | head -40 || true | |
| 113 | else | |
| 114 | bun install | |
| 115 | fi | |
| 96 | 116 | |
| 97 | 117 | - name: Install build dependencies (Linux) |
| 98 | 118 | if: runner.os == 'Linux' |