File tree Expand file tree Collapse file tree 6 files changed +6
-19
lines changed Expand file tree Collapse file tree 6 files changed +6
-19
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7- schedule :
8- - cron : ' 13 11 * * *'
97
108concurrency :
119 group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1311
1412jobs :
1513 pythonbuild :
16- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1714 runs-on : ' macos-13'
1815 steps :
1916 - uses : actions/checkout@v4
4138 path : target/release/pythonbuild
4239
4340 build :
44- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4541 strategy :
4642 fail-fast : false
4743 matrix :
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7- schedule :
8- - cron : ' 13 11 * * *'
97
108concurrency :
119 group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1311
1412jobs :
1513 pythonbuild :
16- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
1714 runs-on : ubuntu-22.04
1815 steps :
1916 - name : Install System Dependencies
4643 path : target/release/pythonbuild
4744
4845 image :
49- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
5046 strategy :
5147 fail-fast : false
5248 matrix :
@@ -117,7 +113,6 @@ jobs:
117113 path : build/image-*
118114
119115 build :
120- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
121116 strategy :
122117 fail-fast : false
123118 matrix :
@@ -876,7 +871,6 @@ jobs:
876871 # GitHub enforces a limit of 256 entries per matrix, which we exceeded above
877872 # so the CPython 3.13 jobs are split out
878873 build-313 :
879- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
880874 strategy :
881875 fail-fast : false
882876 matrix :
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7- schedule :
8- - cron : ' 13 11 * * *'
97
108concurrency :
119 group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1210 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1311
1412jobs :
1513 pythonbuild :
16- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
17- runs-on : ' windows-2019'
14+ runs-on : ' windows-2022'
1815 steps :
1916 - uses : actions/checkout@v4
2017
4138 path : target/release/pythonbuild.exe
4239
4340 build :
44- if : ${{ github.repository_owner == 'indygreg' || github.event_name != 'schedule' }}
4541 strategy :
4642 fail-fast : false
4743 matrix :
6662 options : ' freethreaded+pgo'
6763
6864 needs : pythonbuild
69- runs-on : ' windows-2019 '
65+ runs-on : ' windows-2022 '
7066 steps :
7167 - uses : actions/checkout@v4
7268 with :
9692 - name : Build
9793 shell : cmd
9894 run : |
99- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
95+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
10096 py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.options }}
10197
10298 - name : Validate Distribution
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ elif [ "${TARGET_TRIPLE}" = "x86_64-apple-ios" ]; then
2222 CONFIGURE_FLAGS=" ${CONFIGURE_FLAGS} ac_cv_search_system=no"
2323fi
2424
25- CFLAGS=" ${EXTRA_TARGET_CFLAGS} -fPIC" CPPFLAGS=" ${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS=" ${EXTRA_TARGET_LDFLAGS} " ./configure ${CONFIGURE_FLAGS}
25+ CFLAGS=" ${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB - fPIC" CPPFLAGS=" ${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS=" ${EXTRA_TARGET_LDFLAGS} " ./configure ${CONFIGURE_FLAGS}
2626
2727make -j ${NUM_CPUS}
2828make -j ${NUM_CPUS} install DESTDIR=${ROOT} /out
Original file line number Diff line number Diff line change @@ -1657,7 +1657,7 @@ def main() -> None:
16571657 parser .add_argument (
16581658 "--vs" ,
16591659 choices = {"2019" , "2022" },
1660- default = "2019 " ,
1660+ default = "2022 " ,
16611661 help = "Visual Studio version to use" ,
16621662 )
16631663 parser .add_argument (
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ const PE_ALLOWED_LIBRARIES: &[&str] = &[
107107 "USERENV.dll" ,
108108 "VERSION.dll" ,
109109 "VCRUNTIME140.dll" ,
110+ "VCRUNTIME140_1.dll" ,
110111 "WINMM.dll" ,
111112 "WS2_32.dll" ,
112113 // Our libraries.
You can’t perform that action at this time.
0 commit comments