Skip to content

WIP

WIP #35

Workflow file for this run

name: e2e-tests-arm
# on:
# workflow_dispatch:
# pull_request:
jobs:
docker:
runs-on: macos-26
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check system info
run: |
echo "=== System Information ==="
uname -a
sw_vers
echo "=== Available commands ==="
which brew
which docker || echo "Docker not found"
- name: Install Docker (via Colima)
run: |
brew install colima docker
# Check available VM types
echo "Available VM types:"
colima start --help | grep -A 10 "vm-type" || echo "Help not available"
echo "Trying VZ VM type..."
if ! colima start --arch aarch64 --vm-type=vz --memory 4 --cpu 2; then
echo "Direct start failed, trying brew services approach..."
brew services start colima
sleep 10
fi
- name: Test Docker
run: |
echo "=== Colima Status ==="
colima status || echo "Colima not running"
echo "=== Colima Configuration ==="
colima list || echo "No Colima instances"
echo "=== Colima Logs (startup) ==="
if [ -f "/Users/runner/.colima/_lima/colima/ha.stderr.log" ]; then
echo "Host agent stderr:"
tail -20 "/Users/runner/.colima/_lima/colima/ha.stderr.log"
else
echo "No stderr log found"
fi
if [ -f "/Users/runner/.colima/_lima/colima/ha.stdout.log" ]; then
echo "Host agent stdout:"
tail -20 "/Users/runner/.colima/_lima/colima/ha.stdout.log"
else
echo "No stdout log found"
fi
echo "=== System Virtualization Support ==="
sysctl kern.hv_support || echo "No HV support"
sysctl kern.vm_guest || echo "No VM guest info"
echo "=== Brew Services Status ==="
brew services list | grep colima || echo "No colima service found"
echo "=== Trying to start Colima manually with VZ ==="
colima start --vm-type=vz --memory 2 --cpu 1 || echo "VZ manual start failed"
echo "=== Final Colima Status ==="
colima status || echo "Colima still not running"
echo "=== CONCLUSION ==="
echo "❌ VZ virtualization is not available on this GitHub Actions runner"
echo "The error shows: 'Virtualization is not available on this hardware'"
echo "This means we cannot run Docker on the same runner as the iOS simulator"
echo ""
echo "🔧 SOLUTIONS:"
echo "1. Use the hybrid approach (Ubuntu for regtest, macOS for iOS tests)"
echo "2. Use a cloud-hosted regtest service"
echo "3. Use a different CI provider that supports virtualization"
echo ""
echo "The hybrid approach in e2e-tests-hybrid.yml is the recommended solution"