-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 1.06 KB
/
build.yml
File metadata and controls
35 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build Python for Windows ARM64
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-remote: ['https://github.com/ader1990/cpython']
python-branch: ['v3.8.5-win-arm64']
steps:
- name: Compile Python
run: |
git clone ${{ matrix.python-remote }}
cd cpython
git checkout ${{ matrix.python-branch }}
PCbuild\build.bat -e -p ARM64
- name: Create zip
shell: cmd
run: |
mkdir cpython\PCBuild\arm64\lib
mkdir cpython\PCBuild\arm64\include
mkdir cpython\PCBuild\arm64\libs
xcopy /i /e cpython\lib\*.* cpython\PCBuild\arm64\lib
xcopy /i /e cpython\include\*.* cpython\PCBuild\arm64\include
xcopy /i /e cpython\PC\pyconfig.h cpython\PCBuild\arm64\include
xcopy.exe /y "cpython\PCBuild\arm64\python*.lib" "cpython\PCBuild\arm64\libs\"
- uses: actions/upload-artifact@v1
with:
name: cpython-arm64
path: cpython\PCBuild\arm64