Skip to content

Commit

Permalink
github: Add pip as a dependency
Browse files Browse the repository at this point in the history
Allow use of the 'pip' tool within the actions.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 committed Aug 13, 2024
1 parent 9ea9f82 commit 6795f76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
meson:p
ninja:p
libyaml:p
python3-pip
swig:p
python-setuptools-scm:p
Expand Down
10 changes: 6 additions & 4 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ fi
if [ "$NAME" = "Arch Linux" ]
then
pacman -Syu --needed --noconfirm bison diffutils flex gcc git libyaml \
make meson pkgconf python python-setuptools-scm swig valgrind which
make meson pkgconf python python-setuptools-scm python-pip swig valgrind \
which
elif [ "$NAME" = "Alpine Linux" ]
then
apk add build-base bison coreutils flex git yaml yaml-dev python3-dev \
meson py3-setuptools_scm swig valgrind
py3-pip meson py3-setuptools_scm swig valgrind
elif [ "$NAME" = "Fedora Linux" ]
then
dnf install -y bison diffutils flex gcc git libyaml libyaml-devel \
make meson python3-devel python3-setuptools swig valgrind which
make meson python3-devel python3-pip python3-setuptools swig valgrind which
elif [ "$NAME" = "Ubuntu" ]
then
apt update
apt install -yq build-essential bison flex git libyaml-dev pkg-config \
meson python3-dev python3-setuptools python3-setuptools-scm swig valgrind
meson python3-dev python3-pip python3-setuptools python3-setuptools-scm \
swig valgrind
else
echo "ERROR: OS name is not provided."
exit 1
Expand Down

0 comments on commit 6795f76

Please sign in to comment.