Skip to content

Commit

Permalink
2.x: Change to MacOs 13
Browse files Browse the repository at this point in the history
  • Loading branch information
DionisioFG committed Mar 18, 2024
1 parent d9ec9a6 commit 085fccb
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions .github/workflows/ce-dev-test-macos-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ on:

jobs:
build:
runs-on: macos-14
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
ref: '2.x-devel'
- name: Checking disk space
run: df -H
- name: Install homebrew dependencies
run: |
set -x
sudo chmod ugo+w /usr/local/bin
brew install docker docker-compose lima
- name: Install and start Colima
run: |
brew install colima
colima version
colima start --cpu 3 --memory 6 --disk 100 --vm-type=qemu --mount-type=sshfs --dns=1.1.1.1
colima restart
- name: Install modules
run: yarn
# Uses https://oclif.io/
Expand All @@ -22,24 +31,6 @@ jobs:
run: yarn oclif pack tarballs --targets=darwin-x64,darwin-arm64 --no-xz
- name: Rename the dist/* files
run: yarn renamedist
- name: Install homebrew dependencies
run: |
set -x
sudo chmod ugo+w /usr/local/bin
brew -v
brew install --overwrite [email protected]
# brew install mysql-client is failing because of existing 2to3
sudo rm -f /usr/local/bin/2to3*
brew install --overwrite mysql-client || true
- name: Install Colima and Docker
run: |
brew install colima
brew install docker docker-compose
mkdir -p ~/.docker/cli-plugins
sudo ln -sfn $(brew --prefix)/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
brew install docker-Buildx
sudo ln -sfn $(brew --prefix)/opt/docker-buildx/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx
colima start
# We build mkcert from source because releases are broken
- name: Install test dependencies
run: |
Expand Down

0 comments on commit 085fccb

Please sign in to comment.