-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9ec9a6
commit 085fccb
Showing
1 changed file
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [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: | | ||
|