Skip to content

Commit 52182d4

Browse files
committed
test: run B fix — consistent deployment target across builds + cache salt
Run B attempt 1 failed with std.pcm config-mismatch: the warm build (no deployment env -> target macosx15) reused run A's cached std.pcm (compiled for macosx14). mcpp's BMI fingerprint does not include the deployment target — real product bug, fix tracked for 0.0.50.
1 parent b827111 commit 52182d4

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/temp-macos14-support.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ jobs:
3939
uses: actions/cache@v4
4040
with:
4141
path: ~/.xlings
42-
key: xlings-macos15-m14test-${{ hashFiles('.xlings.json') }}
42+
key: xlings-macos15-m14test-v2-${{ hashFiles('.xlings.json') }}
4343
restore-keys: |
44-
xlings-macos15-m14test-
44+
xlings-macos15-m14test-v2-
4545
4646
- name: Cache mcpp sandbox
4747
uses: actions/cache@v4
4848
with:
4949
path: ~/.mcpp
50-
key: mcpp-macos15-m14test-${{ hashFiles('mcpp.toml') }}
50+
key: mcpp-macos15-m14test-v2-${{ hashFiles('mcpp.toml') }}
5151
restore-keys: |
52-
mcpp-macos15-m14test-
52+
mcpp-macos15-m14test-v2-
5353
5454
- name: Bootstrap mcpp via xlings
5555
env:
@@ -76,6 +76,12 @@ jobs:
7676
- name: Warm toolchain (installs llvm/ninja into the sandbox)
7777
env:
7878
MCPP_HOME: /Users/runner/.mcpp
79+
# Same target as the real build below: mcpp's BMI fingerprint
80+
# does not (yet) include the deployment target, so mixing
81+
# targets within one sandbox produces std.pcm config-mismatch
82+
# errors (observed in run B attempt 1; product fix tracked for
83+
# mcpp 0.0.50's toolchain fingerprint).
84+
MACOSX_DEPLOYMENT_TARGET: '11.0'
7985
run: |
8086
"$MCPP" build
8187
echo "warm build done (linkage/minos not asserted here)"

0 commit comments

Comments
 (0)