Skip to content

Commit

Permalink
GHA: use Orbstack on macos runners
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Oct 21, 2024
1 parent 9a871d3 commit 8e57473
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,13 @@ jobs:
if: runner.os == 'macOS'
uses: Homebrew/actions/setup-homebrew@master

- name: Install homebrew dependencies
- name: Install and start Orbstack
if: runner.os == 'macOS'
run: |
set -x
sudo chmod ugo+w /usr/local/bin
brew install -q docker docker-compose lima mkcert nss
- name: Install and start Colima
if: runner.os == 'macOS'
run: |
brew install -q colima
colima version
colima start --cpu 3 --memory 6 --disk 100 --mount-type=sshfs --dns=1.1.1.1
sudo security authorizationdb write com.apple.trust-settings.admin allow
env:
HOMEBREW_NO_AUTO_UPDATE: "1"
brew install -q orbstack
orb
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -76,9 +67,9 @@ jobs:
- name: Tear down Stonehenge
run: make down

- name: Turn off colima
- name: Turn off Orbstack
if: runner.os == 'macOS'
run: colima stop
run: orb stop

- name: Clean up Homebrew
if: runner.os == 'macOS'
Expand Down

0 comments on commit 8e57473

Please sign in to comment.