Fix: Remove qemu dependency, use docker directly for Alpine Linux
Build Debug / Build Android Debug APK (push) Successful in 5m45s
Build iOS / Build iOS IPA (push) Failing after 1m11s
Build UUVPN / Build Android APK (push) Has been skipped
Build UUVPN / Build iOS IPA (push) Has been skipped
Build UUVPN / Create GitHub Release (push) Has been skipped
Build UUVPN / Send Notification (push) Successful in 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build Debug / Build Android Debug APK (push) Successful in 5m45s
Build iOS / Build iOS IPA (push) Failing after 1m11s
Build UUVPN / Build Android APK (push) Has been skipped
Build UUVPN / Build iOS IPA (push) Has been skipped
Build UUVPN / Create GitHub Release (push) Has been skipped
Build UUVPN / Send Notification (push) Successful in 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
This commit is contained in:
@@ -33,16 +33,24 @@ jobs:
|
||||
steps:
|
||||
- name: Install dependencies (Alpine)
|
||||
run: |
|
||||
# Alpine Linux package names are different
|
||||
# 添加 community 仓库
|
||||
echo "https://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
|
||||
apk update
|
||||
|
||||
# 安装基础依赖,不安装完整的 qemu(依赖太多)
|
||||
apk add --no-cache \
|
||||
qemu-system-x86_64 \
|
||||
qemu-img \
|
||||
wget \
|
||||
curl \
|
||||
git-lfs \
|
||||
bash \
|
||||
python3 \
|
||||
py3-pip
|
||||
py3-pip \
|
||||
docker \
|
||||
openrc
|
||||
|
||||
# 启动 docker 服务
|
||||
rc-service docker start || true
|
||||
docker --version || echo "Docker not available"
|
||||
|
||||
- name: Check virtualization support
|
||||
run: |
|
||||
@@ -52,8 +60,8 @@ jobs:
|
||||
ls -la /dev/kvm 2>/dev/null || echo "KVM not available - will use QEMU emulation (slower)"
|
||||
cat /proc/cpuinfo | grep -E "vmx|svm" || echo "No hardware virtualization detected"
|
||||
echo ""
|
||||
echo "QEMU version:"
|
||||
qemu-system-x86_64 --version || echo "QEMU not found"
|
||||
echo "Docker version:"
|
||||
docker --version || echo "Docker not found"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user