File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ jobs:
1010 fail-fast : false
1111 matrix :
1212 include :
13- - arch : x64
14- cpython_branch : " 3.12"
15- cpython_commit : 0b05ead877f909b7efe712db758012d9dbece7ce
16- os : windows-2022
17- - arch : x86
18- cpython_branch : " 3.12"
13+ - cpython_branch : " 3.12"
1914 cpython_commit : 0b05ead877f909b7efe712db758012d9dbece7ce
15+ arch : x64
16+ platform : amd64
17+ build_args : " "
2018 os : windows-2022
2119 runs-on : ${{ matrix.os }}
2220 steps :
@@ -108,19 +106,17 @@ jobs:
108106 - name : Build
109107 shell : pwsh
110108 run : |
111- $platform = "${{ matrix.arch }}" -eq "x86" ? "Win32" : "${{ matrix.arch }}"
112- .\cpython\PCbuild\build.bat -v -c Release -p $platform
109+ .\cpython\PCbuild\build.bat -v -c Release -p ${{ matrix.arch }} ${{ matrix.build_args }}
113110
114111 - name : Package
115112 shell : pwsh
116113 run : |
117- $platform = "${{ matrix.arch }}" -eq "x86" ? "win32" : "amd64"
118- & (".\cpython\PCbuild\" + $platform + "\python.exe") `
114+ .\cpython\PCbuild\${{ matrix.platform }}\python.exe `
119115 .\cpython\PC\layout `
120116 -vv `
121117 --source .\cpython `
122- --build .\cpython\PCbuild\$platform `
123- --arch $platform `
118+ --build .\cpython\PCbuild\${{ matrix. platform }} `
119+ --arch ${{ matrix. platform }} `
124120 --temp .\temp `
125121 --precompile `
126122 --include-underpth `
You can’t perform that action at this time.
0 commit comments