Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Nov 18, 2024
1 parent 41bd08b commit 619709a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/flow-pull-request-checks-on-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
LIMA_VERSION=$INPUT_LIMA
fi
echo "::group::Installing Lima version $LIMA_VERSION"
# echo "::group::Installing Lima version $LIMA_VERSION"
curl -fsSL "https://github.com/lima-vm/lima/releases/download/${LIMA_VERSION}/lima-${LIMA_VERSION:1}-$(uname -s)-$(uname -m).tar.gz" | tar Cxzvm /usr/local
echo "::endgroup::"
# echo "::endgroup::"
shell: bash

- name: Install Colima
Expand All @@ -90,12 +90,12 @@ jobs:
COLIMA_VERSION=$INPUT_COLIMA
fi
echo "::group::Installing Colima version $COLIMA_VERSION"
# echo "::group::Installing Colima version $COLIMA_VERSION"
curl -LO https://github.com/abiosoft/colima/releases/download/${COLIMA_VERSION}/colima-$(uname)-$(uname -m)

# install in $PATH
install colima-$(uname)-$(uname -m) /usr/local/bin/colima
echo "::endgroup::"
# echo "::endgroup::"
shell: bash

- name: Workaround for Python conflicts in GHA Runners
Expand All @@ -115,12 +115,12 @@ jobs:
HOMEBREW_NO_INSTALL_UPGRADE: "1"
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: "1"
run: |
echo "::group::Installing QEMU, Docker client, and Docker Compose"
# echo "::group::Installing QEMU, Docker client, and Docker Compose"
brew install docker docker-compose
# Installing QEMU 9.0.2 as a temporary workaround. Version 9.1.0 seems to be broken with Lima/Colima at the moment.
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/f1a9cf104a9a51779c7a532b658c490f69974839/Formula/q/qemu.rb
brew install qemu.rb 2>&1 | tee install.log
echo "::endgroup::"
# echo "::endgroup::"
shell: bash

- name: Configure Docker Compose plugin
Expand All @@ -132,12 +132,11 @@ jobs:
env:
COLIMA_NETWORK_ADDRESS: true
run: |
# CPU_COUNT=$(sysctl -n hw.ncpu)
# MEMORY=$(sysctl hw.memsize | awk '{print $2/1024/1024/1024}')
# COLIMA_ARGS="--cpu 3 --memory 8 --arch x86_64 --network-address"
CPU_COUNT=$(sysctl -n hw.ncpu)
MEMORY=$(sysctl hw.memsize | awk '{print $2/1024/1024/1024}')
COLIMA_ARGS="--cpu 3 --memory 8 --arch x86_64 --network-address"
# echo "::group::Starting Colima with args: $COLIMA_ARGS"
# colima start $COLIMA_ARGS
colima start --cpu 3 --memory 8 --arch x86_64 --network-address
colima start $COLIMA_ARGS
# echo "::endgroup::"
shell: bash

Expand Down Expand Up @@ -183,4 +182,4 @@ jobs:
# - name: Setup tmate session
# env:
# FIRING_UP_RETRY_ATTEMPTS: 1000
# uses: mxschmitt/action-tmate@v3
# uses: mxschmitt/action-tmate@v3

0 comments on commit 619709a

Please sign in to comment.