Skip to content

Commit bdc99ae

Browse files
authored
select proper bitness from pypy externals for windows (#637)
* use win64_14x from pypy externals * dynamically select pypy externals bitness * refer to pypy as python in commands
1 parent 44c9a43 commit bdc99ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
mkdir --parents $(dirname $PYPY_EXTERNALS_PATH)
159159
hg clone https://foss.heptapod.net/pypy/externals/ $PYPY_EXTERNALS_PATH
160160
dir $PYPY_EXTERNALS_PATH
161-
cd $PYPY_EXTERNALS_PATH && hg update win32_14x
161+
cd $PYPY_EXTERNALS_PATH && hg update win$(python -c 'import struct; print(struct.calcsize("P") * 8)')_14x
162162
echo "INCLUDE=$PYPY_EXTERNALS_PATH/include;$INCLUDE" >> $GITHUB_ENV
163163
echo "LIB=$PYPY_EXTERNALS_PATH/lib;$LIB" >> $GITHUB_ENV
164164
# echo "CL=${{ matrix.PYTHON.CL_FLAGS }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)