Commit aff0ecb
fix(ci): run Swift toolchain setup before CodeQL init
CodeQL manual build-mode wraps every step after init in an x86_64
Rosetta shim, under which `brew install` fails on the Apple Silicon
runner ("Cannot install under Rosetta 2 in ARM default prefix").
Move Xcode selection, XcodeGen install, and project generation before
init so they run natively; keep only xcodebuild inside the traced
region for the extractor.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 687434f commit aff0ecb
1 file changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| |||
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
0 commit comments