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:
|
steps:
|
||||||
- name: Install dependencies (Alpine)
|
- name: Install dependencies (Alpine)
|
||||||
run: |
|
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 \
|
apk add --no-cache \
|
||||||
qemu-system-x86_64 \
|
|
||||||
qemu-img \
|
|
||||||
wget \
|
wget \
|
||||||
curl \
|
curl \
|
||||||
git-lfs \
|
git-lfs \
|
||||||
bash \
|
bash \
|
||||||
python3 \
|
python3 \
|
||||||
py3-pip
|
py3-pip \
|
||||||
|
docker \
|
||||||
|
openrc
|
||||||
|
|
||||||
|
# 启动 docker 服务
|
||||||
|
rc-service docker start || true
|
||||||
|
docker --version || echo "Docker not available"
|
||||||
|
|
||||||
- name: Check virtualization support
|
- name: Check virtualization support
|
||||||
run: |
|
run: |
|
||||||
@@ -52,8 +60,8 @@ jobs:
|
|||||||
ls -la /dev/kvm 2>/dev/null || echo "KVM not available - will use QEMU emulation (slower)"
|
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"
|
cat /proc/cpuinfo | grep -E "vmx|svm" || echo "No hardware virtualization detected"
|
||||||
echo ""
|
echo ""
|
||||||
echo "QEMU version:"
|
echo "Docker version:"
|
||||||
qemu-system-x86_64 --version || echo "QEMU not found"
|
docker --version || echo "Docker not found"
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user