File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 66
66
" win-py-3.7" ,
67
67
" win-py-3.6" ,
68
68
],
69
+ " arch " : [
70
+ " x64" ,
71
+ " x86"
72
+ ],
69
73
" include " : [
70
74
{
71
75
" name " : " win-py-3.9" ,
94
98
{
95
99
" name " : " Install the right python" ,
96
100
" uses " : " actions/setup-python@v2" ,
97
- " with " : { "python-version": "${{ matrix.pyenv }}" },
101
+ " with " : {
102
+ " python-version " : " ${{ matrix.pyenv }}" ,
103
+ " architecture " : " ${{ matrix.arch }}"
104
+ },
98
105
},
99
106
{
100
107
" name " : " Build and test gssapi" ,
Original file line number Diff line number Diff line change 85
85
" win-wheel-3.7" ,
86
86
" win-wheel-3.6" ,
87
87
],
88
+ " arch " : [
89
+ " x64" ,
90
+ " x86"
91
+ ],
88
92
" include " : [
89
93
{
90
94
" name " : " win-wheel-3.9" ,
113
117
{
114
118
" name " : " Install the right python" ,
115
119
" uses " : " actions/setup-python@v2" ,
116
- " with " : { "python-version": "${{ matrix.pyenv }}" },
120
+ " with " : {
121
+ " python-version " : " ${{ matrix.pyenv }}" ,
122
+ " architecture " : " ${{ matrix.arch }}"
123
+ },
117
124
},
118
125
{
119
126
" name " : " Create and upload Windows wheel" ,
Original file line number Diff line number Diff line change @@ -64,11 +64,19 @@ setup::macos::install() {
64
64
setup::windows::install () {
65
65
CHINST=" choco install --no-progress --yes --ignore-detected-reboot --allow-downgrade"
66
66
67
+ # Install the 32bit version if Python is 32bit
68
+ if python -c " assert __import__('sys').maxsize <= 2**32" ; then
69
+ CHINST=" $CHINST --x86"
70
+ PF=" Program Files (x86)"
71
+ else
72
+ PF=" Program Files"
73
+ fi
74
+
67
75
# Install MIT Kerberos. choco will fail despite the installation working.
68
76
$CHINST mitkerberos --install-arguments " 'ADDLOCAL=ALL'" || true
69
77
70
78
# Update path to include it
71
- export PATH=" /c/Program Files /MIT/Kerberos/bin:$PATH "
79
+ export PATH=" /c/$PF /MIT/Kerberos/bin:$PATH "
72
80
73
81
python -m pip install --upgrade pip
74
82
}
You can’t perform that action at this time.
0 commit comments