Skip to content

Commit 025be88

Browse files
committed
Remove brew installation of lima
It looks like the runners have an older version of lima already installed via brew. We don't want/need that, as it can confuse our testing. Also it currently seems to break upgrading, which looks like a brew issue: ``` ==> Upgrading lima 0.12.0 -> 0.13.0 ==> Pouring lima--0.13.0.monterey.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/apptainer.lima Target /usr/local/bin/apptainer.lima already exists. You may want to remove it: rm '/usr/local/bin/apptainer.lima' To force the link and overwrite all conflicting files: brew link --overwrite lima To list all files that would be deleted: brew link --overwrite --dry-run lima Possible conflicting files are: /usr/local/bin/apptainer.lima /usr/local/bin/docker.lima /usr/local/bin/lima /usr/local/bin/limactl ... ``` Signed-off-by: Jan Dubois <[email protected]>
1 parent 082576f commit 025be88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ jobs:
103103
# breaking upgrades to latest [email protected]
104104
rm -f /usr/local/bin/2to3
105105
time brew update
106+
# Github runners seem to have lima installed by brew already; we don't want/need it
107+
# It also does throw an error during `brew upgrade`.
108+
# Needs --ignore-dependencies because it is installed as a prerequisite for colima.
109+
time brew uninstall --ignore-dependencies lima
106110
time brew install qemu bash coreutils curl jq
107111
time brew upgrade
108112
- name: Cache ~/Library/Caches/lima/download

0 commit comments

Comments
 (0)