summaryrefslogtreecommitdiff
path: root/.github/workflows/fedora.sh
blob: eb8bc3f5c0a8fd6573e89b4b527474cda9e31488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/bash

# Use grouped output messages
infobegin() {
	echo "::group::${1}"
}
infoend() {
	echo "::endgroup::"
}

# Required packages on Fedora
requires=(
	autoconf-archive
	cairo-gobject-devel
	ccache
	clang
	clang-analyzer
	cppcheck-htmlreport
	dbus-glib-devel
	desktop-file-utils
	exempi-devel
	gcc
	git
	gobject-introspection-devel
	gtk-layer-shell-devel
	gtk3-devel
	libSM-devel
	libexif-devel
	libnotify-devel
	libselinux-devel
	libxml2-devel
	make
	mate-common
	mate-desktop-devel
	pango-devel
	python3-lxml
	redhat-rpm-config
	startup-notification-devel
)

infobegin "Update system"
dnf update -y
infoend

infobegin "Install dependency packages"
dnf install -y ${requires[@]}
infoend