Skip to content

Commit 51d0ed9

Browse files
committed
add test workflow
1 parent d22fd46 commit 51d0ed9

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Test win_arm64 Wheel builder
2+
3+
on:
4+
workflow_dispatch:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8+
cancel-in-progress: true
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
build_wheels:
15+
name: Build wheel for cp312-win_arm64
16+
runs-on: windows-11-arm
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
buildplat:
21+
- [windows-11-arm, win_arm64]
22+
python: [["cp312", "3.12"]]
23+
24+
steps:
25+
- name: Checkout pandas
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Build wheels
31+
uses: pypa/[email protected]
32+
with:
33+
package-dir: ./ # Build from source checkout
34+
env:
35+
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
36+
CIBW_BUILD_FRONTEND: 'pip'
37+
CIBW_PLATFORM: 'auto'
38+
# Add any necessary build environment variables here if needed
39+
# e.g. CIBW_BEFORE_BUILD_WINDOWS: bash scripts/cibw_before_build_windows.sh
40+
41+
- name: Set up Python for validation
42+
uses: mamba-org/setup-micromamba@v2
43+
with:
44+
environment-name: wheel-env
45+
create-args: >-
46+
python=3.12
47+
wheel
48+
cache-downloads: true
49+
cache-environment: true
50+
51+
- name: Validate wheel RECORD
52+
shell: bash -el {0}
53+
run: for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
54+
55+
# Artifact upload is removed as per requirements
56+
# - uses: actions/upload-artifact@v4
57+
# with:
58+
# name: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
59+
# path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)