Skip to content

The only downloader you need. 下载器的集大成者。

ci(windows): 去掉 Windows arm64 构建

XiaoYouChR9ce39a0ca44f
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8ed9f962..812f8524 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -105,8 +105,6 @@ jobs:
include:
- architecture: x86_64
runner: windows-2022
- - architecture: arm64
- runner: windows-11-arm
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout
@@ -131,18 +129,16 @@ jobs:
- name: Build updater
shell: pwsh
run: |
- $arch = if ("${{ matrix.architecture }}" -eq "arm64") { "ARM64" } else { "x64" }
- cmake -B build-updater -G "Visual Studio 17 2022" -A $arch tools/updater
+ cmake -B build-updater -G "Visual Studio 17 2022" -A x64 tools/updater
cmake --build build-updater --config Release
Copy-Item build-updater/Release/updater.exe dist/Ghost-Downloader-3.dist/
- name: Download HDiffPatch
shell: pwsh
run: |
- $hdiffArch = if ("${{ matrix.architecture }}" -eq "arm64") { "windows_arm64" } else { "windows64" }
- Invoke-WebRequest -Uri "https://github.com/sisong/HDiffPatch/releases/download/v5.1.3/hdiffpatch_v5.1.3_bin_${hdiffArch}.zip" -OutFile hdiffpatch.zip
+ Invoke-WebRequest -Uri "https://github.com/sisong/HDiffPatch/releases/download/v5.1.3/hdiffpatch_v5.1.3_bin_windows64.zip" -OutFile hdiffpatch.zip
Expand-Archive hdiffpatch.zip -DestinationPath hdiffpatch
- Copy-Item hdiffpatch/${hdiffArch}/hpatchz.exe dist/Ghost-Downloader-3.dist/
+ Copy-Item hdiffpatch/windows64/hpatchz.exe dist/Ghost-Downloader-3.dist/
- name: Prepare For Sign
if: ${{ github.event.inputs.sign_artifact == 'true' }}
@@ -260,9 +256,8 @@ jobs:
$oldDir = "prev-extracted"
}
- $hdiffArch = if ("${{ matrix.architecture }}" -eq "arm64") { "windows_arm64" } else { "windows64" }
$patchFile = "patch-Windows-${{ matrix.architecture }}-${prevVer}-to-${{ env.VERSION }}.hdiff"
- & "hdiffpatch/${hdiffArch}/hdiffz.exe" -f "$oldDir" dist/Ghost-Downloader-3.dist "$patchFile"
+ & "hdiffpatch/windows64/hdiffz.exe" -f "$oldDir" dist/Ghost-Downloader-3.dist "$patchFile"
echo "PATCH_FILE=$patchFile" >> $env:GITHUB_ENV
- name: Upload to release
@@ -926,7 +921,7 @@ jobs:
h.update(chunk)
return h.hexdigest()
- platforms = ["Windows-x86_64", "Windows-arm64", "macOS-arm64", "macOS-x86_64"]
+ platforms = ["Windows-x86_64", "macOS-arm64", "macOS-x86_64"]
patches = {}
full = {}
diff --git a/README.md b/README.md
index 22bd9fbe..e76b3fff 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ Started as a passion project to help a Bilibili creator manage resources. Now it
| Platform | Required Version | Architectures |
|:--|:--|:--|
-| <img src="https://api.iconify.design/mdi/microsoft-windows.svg?color=%238B949E" width="16" height="16"> **Windows** | `10+` | `x86_64` / `arm64` |
+| <img src="https://api.iconify.design/mdi/microsoft-windows.svg?color=%238B949E" width="16" height="16"> **Windows** | `10+` | `x86_64` |
| <img src="https://api.iconify.design/mdi/apple.svg?color=%238B949E" width="16" height="16"> **macOS** | `13.0+` | `x86_64` / `arm64` |
| <img src="https://api.iconify.design/mdi/linux.svg?color=%238B949E" width="16" height="16"> **Linux** | `glibc 2.35+` | `x86_64` / `arm64` |
| <img src="https://api.iconify.design/mdi/android.svg?color=%238B949E" width="16" height="16"> **Android** | `9.0+` | `arm64-v8a` |
diff --git a/README_zh.md b/README_zh.md
index 5ed20738..59b00094 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -43,7 +43,7 @@
| 平台 | 版本要求 | 架构支持 |
|:--|:--|:--|
-| <img src="https://api.iconify.design/mdi/microsoft-windows.svg?color=%238B949E" width="16" height="16"> **Windows** | `10+` | `x86_64` / `arm64` |
+| <img src="https://api.iconify.design/mdi/microsoft-windows.svg?color=%238B949E" width="16" height="16"> **Windows** | `10+` | `x86_64` |
| <img src="https://api.iconify.design/mdi/apple.svg?color=%238B949E" width="16" height="16"> **macOS** | `13.0+` | `x86_64` / `arm64` |
| <img src="https://api.iconify.design/mdi/linux.svg?color=%238B949E" width="16" height="16"> **Linux** | `glibc 2.35+` | `x86_64` / `arm64` |
| <img src="https://api.iconify.design/mdi/android.svg?color=%238B949E" width="16" height="16"> **Android** | `9.0+` | `arm64-v8a` |