File tree Expand file tree Collapse file tree 1 file changed +17
-14
lines changed
Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -172,25 +172,28 @@ jobs:
172172
173173 test-05-v3 :
174174 needs : test-main
175- runs-on : macos-15
175+ runs-on : macos-13
176176 steps :
177177 - name : Check out repository code
178178 uses : actions/checkout@v2
179179
180- - name : Install Docker + Colima
180+ - name : Fix Python conflicts between macOS runner and Homebrew
181181 run : |
182- brew update
183- brew install qemu colima docker
184- brew uninstall --ignore-dependencies lima
185- curl https://raw.githubusercontent.com/Homebrew/homebrew-core/45464b6c4788a80be3f131ab5e2a4468cdfa960c/Formula/l/lima.rb > lima.rb
186- brew install lima.rb
187- LIMACTL_PATH=$(brew --prefix)/bin/limactl
188- sudo curl -L -o $LIMACTL_PATH https://github.com/mikekazakov/lima-nohvf/raw/master/limactl
189- sudo chmod +x $LIMACTL_PATH
190- colima start --network-address --arch arm64 --vm-type=qemu
191- mkdir -p ~/.docker/cli-plugins
192- brew install docker-compose
193- ln -sfn $(brew --prefix)/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
182+ # see https://github.com/actions/setup-python/issues/577
183+ brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
184+
185+ - name : Install homebrew dependencies
186+ run : |
187+ set -x
188+ sudo chmod ugo+w /usr/local/bin
189+ brew install docker docker-compose lima qemu
190+
191+ - name : Install and start Colima
192+ run : |
193+ brew install colima
194+ colima version
195+ colima start --cpu 3 --memory 6 --disk 100 --vm-type=qemu --mount-type=sshfs --dns=1.1.1.1
196+ colima restart
194197
195198 - name : Install dependencies
196199 run : |
You can’t perform that action at this time.
0 commit comments