mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
github: Add pip as a dependency
Allow use of the 'pip' tool within the actions. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9ea9f825d6
commit
973f755e16
2 changed files with 7 additions and 4 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -104,6 +104,7 @@ jobs:
|
||||||
meson:p
|
meson:p
|
||||||
ninja:p
|
ninja:p
|
||||||
libyaml:p
|
libyaml:p
|
||||||
|
python-pip:p
|
||||||
swig:p
|
swig:p
|
||||||
python-setuptools-scm:p
|
python-setuptools-scm:p
|
||||||
|
|
||||||
|
|
|
@ -12,20 +12,22 @@ fi
|
||||||
if [ "$NAME" = "Arch Linux" ]
|
if [ "$NAME" = "Arch Linux" ]
|
||||||
then
|
then
|
||||||
pacman -Syu --needed --noconfirm bison diffutils flex gcc git libyaml \
|
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" ]
|
elif [ "$NAME" = "Alpine Linux" ]
|
||||||
then
|
then
|
||||||
apk add build-base bison coreutils flex git yaml yaml-dev python3-dev \
|
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" ]
|
elif [ "$NAME" = "Fedora Linux" ]
|
||||||
then
|
then
|
||||||
dnf install -y bison diffutils flex gcc git libyaml libyaml-devel \
|
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" ]
|
elif [ "$NAME" = "Ubuntu" ]
|
||||||
then
|
then
|
||||||
apt update
|
apt update
|
||||||
apt install -yq build-essential bison flex git libyaml-dev pkg-config \
|
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
|
else
|
||||||
echo "ERROR: OS name is not provided."
|
echo "ERROR: OS name is not provided."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue