Skip to content

Commit 92923c5

Browse files
author
edbjunwang
committed
chore: specify platform when installing package with pip
1 parent cf5ca8b commit 92923c5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/matrix-debug.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@ jobs:
113113
fi
114114
115115
python -m venv venv
116-
venv/bin/pip install -r pip_requirements.txt
116+
117+
if [[ "${{ matrix.distro }}" == "windows" ]]; then
118+
venv/bin/pip install --platform win32 -r pip_requirements.txt
119+
else
120+
venv/bin/pip install -r pip_requirements.txt
121+
fi
122+
117123
rm -f pip_requirements.txt
118124
venv/bin/pip freeze | tee -a requirements.${{ matrix.distro }}-${{ matrix.distro-version }}-${{ matrix.arch }}.txt
119125

0 commit comments

Comments
 (0)