Skip to content

fix(ci): bootstrap mise in ci_post_clone.sh for Xcode Cloud (#75) - #76

Merged
wei18 merged 1 commit into
mainfrom
fix/ci-xcode-cloud-mise-bootstrap-2
May 21, 2026
Merged

wei18 merged 1 commit into
mainfrom
fix/ci-xcode-cloud-mise-bootstrap-2

Conversation

@wei18

@wei18 wei18 commented May 21, 2026

Copy link
Copy Markdown
Owner

Fixes #75. Xcode Cloud (macOS Tahoe 26.4) image lacks mise, causing ci_post_clone.sh line 8 to fail with exit 127.

Adds a guarded curl-installer bootstrap (https://mise.run) before invoking mise install. Standard idiom from the official mise docs.

§未決 (impl-notes): caching ~/.local/bin/mise between builds to save 5–10s — backlog.

Closes #75.

Fixes #75. Xcode Cloud macOS Tahoe 26.4 image does not ship with mise
preinstalled, causing ci_post_clone.sh to abort at line 8 (`mise install`)
with exit code 127.

Prepend a guarded bootstrap that installs mise via the official curl
installer when not already on PATH, then prepends ~/.local/bin so the
subsequent `mise install` + `mise exec` lines find the binary.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit d02bddd into main May 21, 2026
@wei18
wei18 deleted the fix/ci-xcode-cloud-mise-bootstrap-2 branch May 21, 2026 13:18
wei18 added a commit that referenced this pull request May 22, 2026
Fixes #86. PR #76 fixed mise bootstrap; build #2 then hit:
  xcodebuild: error: '/Volumes/workspace/repository/Sudoku.xcworkspace'
  does not exist.

Repo uses Tuist; .xcworkspace is gitignored. Append `tuist install` +
`tuist generate --no-open` after the gitleaks block so the workspace
exists before Xcode Cloud's resolve_package_dependencies step.

bash -n: OK.

Co-authored-by: Claude Opus 4.7 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): Xcode Cloud ci_post_clone.sh fails — mise not in PATH

1 participant