From 724e97e3eb0a97dd345dbfa85e5c402910d5d375 Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sat, 22 Feb 2025 23:01:54 +0800 Subject: [PATCH 1/3] build: Added support for Windows arm64 wheel package --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 207791b5..bb6944d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,18 +152,16 @@ jobs: target: x64 - runner: windows-latest target: x86 + - runner: windows-latest + target: arm64 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: 3.x architecture: ${{ matrix.platform.target }} - - name: Install dependencies on Windows + - name: Install NASM run: | - choco install cmake -y - choco install strawberryperl -y - choco install pkgconfiglite -y - choco install llvm -y choco install nasm -y shell: cmd - name: Build wheels From 9d4ca08e198de758b47a7664e180c00bbafcb423 Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sat, 22 Feb 2025 23:04:59 +0800 Subject: [PATCH 2/3] build: Added support for Windows arm64 wheel package --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb6944d0..2a6a1380 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,6 +157,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + if : ${{ matrix.platform.target != 'arm64' }} with: python-version: 3.x architecture: ${{ matrix.platform.target }} From a743a105d7b5386f826b75ad18e0fcc743c075ca Mon Sep 17 00:00:00 2001 From: 0x676e67 Date: Sat, 22 Feb 2025 23:13:21 +0800 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a6a1380..8ee4ebd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,12 +152,9 @@ jobs: target: x64 - runner: windows-latest target: x86 - - runner: windows-latest - target: arm64 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - if : ${{ matrix.platform.target != 'arm64' }} with: python-version: 3.x architecture: ${{ matrix.platform.target }} @@ -251,4 +248,4 @@ jobs: with: token: ${{ secrets.CR_PAT }} prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }} - generate_release_notes: true \ No newline at end of file + generate_release_notes: true