mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
ci: Tweaks to GitHub Actions setup
Remove some unnecessary package dependencies. Also include testing of the 'ci' branch (so as to test in-progress changes to the CI configuration itself). Generated-by: Claude Code 1.0.65 (claude-sonnet-4@20250514) Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2ad738722b
commit
e896802631
2 changed files with 6 additions and 5 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -4,6 +4,7 @@ name: Build test
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- ci
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
|
@ -12,20 +12,20 @@ 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 swig
|
||||||
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 flex git yaml yaml-dev python3-dev \
|
||||||
meson py3-setuptools_scm swig valgrind
|
meson py3-setuptools_scm swig
|
||||||
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-setuptools swig
|
||||||
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-setuptools python3-setuptools-scm swig
|
||||||
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