-
Notifications
You must be signed in to change notification settings - Fork 16
fix: update macOS image to latest and simplify colima start command #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 3 commits
d5890d4
1d22f39
f0286ac
b432a2a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -25,7 +25,7 @@ jobs: | |||||||||||||||||
| - name: linux | ||||||||||||||||||
| image: ubuntu-24.04 | ||||||||||||||||||
| - name: mac | ||||||||||||||||||
| image: macos-13 | ||||||||||||||||||
| image: macos-latest | ||||||||||||||||||
| python-version: | ||||||||||||||||||
| - '3.11' | ||||||||||||||||||
| fail-fast: false | ||||||||||||||||||
|
|
@@ -54,8 +54,8 @@ jobs: | |||||||||||||||||
| - name: Docker installation - Mac | ||||||||||||||||||
| if: ${{ matrix.os.name == 'mac' }} | ||||||||||||||||||
| run: | | ||||||||||||||||||
| brew install colima docker docker-compose | ||||||||||||||||||
| colima start -a vz -m 8 -r docker | ||||||||||||||||||
| brew install qemu colima docker docker-compose | ||||||||||||||||||
| colima start --vm-type qemu --memory 8 | ||||||||||||||||||
|
||||||||||||||||||
| colima start --vm-type qemu --memory 8 | |
| colima start -r docker --vm-type qemu --memory 8 |
Copilot
AI
Jan 5, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching from the Apple Virtualization framework (vz) to QEMU may significantly degrade CI performance. The vz VM type uses native Apple Silicon virtualization (when available) which is generally faster than QEMU emulation. Unless there's a specific compatibility issue requiring QEMU, consider keeping the vz VM type for better performance. Note that vz may require macOS 13 or later, so this change should be coordinated with the macOS image update.
| colima start --vm-type qemu --memory 8 | |
| echo "DOCKER_HOST=unix://${HOME}/.colima/docker.sock" >> $GITHUB_ENV | |
| mkdir -p ~/.docker/cli-plugins | |
| ln -sfn /usr/local/bin/docker-compose ~/.docker/cli-plugins/docker-compose | |
| colima start --vm-type vz --memory 8 | |
| echo "DOCKER_HOST=unix://${HOME}/.colima/docker.sock" >> $GITHUB_ENV | |
| mkdir -p ~/.docker/cli-plugins | |
| ln-sfn /usr/local/bin/docker-compose ~/.docker/cli-plugins/docker-compose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
macos-latestinstead of a pinned version likemacos-13introduces unpredictability. When GitHub updates what constitutes "latest", the CI environment will change without any code changes in this repository, potentially causing unexpected test failures. Consider pinning to a specific version (e.g.,macos-14ormacos-15) for reproducible CI builds.