From 085fccb03ce095cf0d6c481e5af63e252484fdd6 Mon Sep 17 00:00:00 2001 From: Dionisio Fernandez Date: Mon, 18 Mar 2024 09:30:44 +0100 Subject: [PATCH] 2.x: Change to MacOs 13 --- .github/workflows/ce-dev-test-macos-2.yml | 33 +++++++++-------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ce-dev-test-macos-2.yml b/.github/workflows/ce-dev-test-macos-2.yml index 2fe6211..4a821e7 100644 --- a/.github/workflows/ce-dev-test-macos-2.yml +++ b/.github/workflows/ce-dev-test-macos-2.yml @@ -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/ @@ -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 python@3.11 - # 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: |