From 0a17aa351ac804e00d5929c6aebae54c663e8a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ACT=E4=B8=B6=E6=B5=81=E6=98=9F=E9=9B=A8?= <91125707+1340145680@users.noreply.github.com> Date: Mon, 13 Apr 2026 01:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0arm=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/debug.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 9bdb5aa..6374609 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -16,8 +16,17 @@ env: jobs: # ==================== Windows 构建 ==================== build-Windows: + strategy: + fail-fast: false + matrix: + include: + - arch: x64 + name: x64 + - arch: arm64 + name: ARM64 + runs-on: windows-latest - name: 构建 Windows + name: 构建 Windows (${{ matrix.name }}) steps: - name: 检出代码 @@ -32,14 +41,14 @@ jobs: run: yarn install --frozen-lockfile - name: 打包 Windows 安装程序 - run: yarn dist:win + run: yarn dist:win --${{ matrix.arch }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 上传构建产物 uses: actions/upload-artifact@v4 with: - name: windows + name: windows-${{ matrix.arch }} path: dist/*.exe retention-days: 7 @@ -146,7 +155,8 @@ jobs: - name: 输出构建结果 run: | echo "===== 构建测试完成 =====" - echo "Windows: ${{ needs.build-Windows.result }}" + echo "Windows x64: ${{ needs.build-Windows.result }}" + echo "Windows arm64: ${{ needs.build-Windows.result }}" echo "macOS Apple Silicon: ${{ needs.build-macOS.result }}" echo "macOS Intel: ${{ needs.build-macOS.result }}" echo "Linux x64: ${{ needs.build-Linux.result }}"