From 7493d1e2d60dee15b1d112291ab8fd9ccb94cbae Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Fri, 18 Apr 2025 22:41:24 +0800 Subject: [PATCH 1/3] support win-arm64 --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 61f0731..ec4933b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: include: - arch: x86 - arch: x64 + - arch: arm64 steps: - name: "Set Build Type" @@ -43,10 +44,14 @@ jobs: if ("${{ matrix.arch }}" -eq "x64") { echo "Arch:x64"; echo "::set-output name=BUILD_ARCH::x64"; + } elseif ("${{ matrix.arch }}" -eq "arm64") { + echo "Arch:ARM64"; + echo "::set-output name=BUILD_ARCH::ARM64"; } else { echo "Arch:Win32"; echo "::set-output name=BUILD_ARCH::Win32"; } + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 From 4ef70f70e462cef8d36a5473d5ce9e75527f5665 Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Fri, 18 Apr 2025 22:43:57 +0800 Subject: [PATCH 2/3] remove 20.04 --- .github/workflows/main.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec4933b..4ad4fef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,6 @@ jobs: include: - arch: x86 - arch: x64 - - arch: arm64 steps: - name: "Set Build Type" @@ -44,14 +43,10 @@ jobs: if ("${{ matrix.arch }}" -eq "x64") { echo "Arch:x64"; echo "::set-output name=BUILD_ARCH::x64"; - } elseif ("${{ matrix.arch }}" -eq "arm64") { - echo "Arch:ARM64"; - echo "::set-output name=BUILD_ARCH::ARM64"; } else { echo "Arch:Win32"; echo "::set-output name=BUILD_ARCH::Win32"; } - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 @@ -134,7 +129,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-20.04, ubuntu-22.04-arm, ubuntu-latest] + os: [ubuntu-22.04, ubuntu-24.04-arm, ubuntu-latest] timeout-minutes: 60 steps: - name: "Release Build Type" From 5aad7fc3cd12f4ce38584ecd4621eac7dd7dbb01 Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Fri, 18 Apr 2025 22:50:30 +0800 Subject: [PATCH 3/3] support arm64 --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ad4fef..b87a415 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,7 @@ jobs: include: - arch: x86 - arch: x64 + - arch: arm64 steps: - name: "Set Build Type" @@ -43,10 +44,14 @@ jobs: if ("${{ matrix.arch }}" -eq "x64") { echo "Arch:x64"; echo "::set-output name=BUILD_ARCH::x64"; + } elseif ("${{ matrix.arch }}" -eq "arm64") { + echo "Arch:ARM64"; + echo "::set-output name=BUILD_ARCH::ARM64"; } else { echo "Arch:Win32"; echo "::set-output name=BUILD_ARCH::Win32"; } + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4