Skip to content

Commit 973f755

Browse files
committed
github: Add pip as a dependency
Allow use of the 'pip' tool within the actions. Signed-off-by: Simon Glass <[email protected]>
1 parent 9ea9f82 commit 973f755

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
meson:p
105105
ninja:p
106106
libyaml:p
107+
python-pip:p
107108
swig:p
108109
python-setuptools-scm:p
109110

scripts/install-deps.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ fi
1212
if [ "$NAME" = "Arch Linux" ]
1313
then
1414
pacman -Syu --needed --noconfirm bison diffutils flex gcc git libyaml \
15-
make meson pkgconf python python-setuptools-scm swig valgrind which
15+
make meson pkgconf python python-setuptools-scm python-pip swig valgrind \
16+
which
1617
elif [ "$NAME" = "Alpine Linux" ]
1718
then
1819
apk add build-base bison coreutils flex git yaml yaml-dev python3-dev \
19-
meson py3-setuptools_scm swig valgrind
20+
py3-pip meson py3-setuptools_scm swig valgrind
2021
elif [ "$NAME" = "Fedora Linux" ]
2122
then
2223
dnf install -y bison diffutils flex gcc git libyaml libyaml-devel \
23-
make meson python3-devel python3-setuptools swig valgrind which
24+
make meson python3-devel python3-pip python3-setuptools swig valgrind which
2425
elif [ "$NAME" = "Ubuntu" ]
2526
then
2627
apt update
2728
apt install -yq build-essential bison flex git libyaml-dev pkg-config \
28-
meson python3-dev python3-setuptools python3-setuptools-scm swig valgrind
29+
meson python3-dev python3-pip python3-setuptools python3-setuptools-scm \
30+
swig valgrind
2931
else
3032
echo "ERROR: OS name is not provided."
3133
exit 1

0 commit comments

Comments
 (0)