summaryrefslogtreecommitdiff
path: root/.github/workflows/fedora.sh
blob: 9e9b1cd25303210be0e0e2c3420e0fc091b89d0a (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
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/bash

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

# Required packages on Fedora
requires=(
	ccache # Use ccache to speed up build
	meson  # Used for meson build
)

requires+=(
	autoconf-archive
	accountsservice-devel
	cairo-gobject-devel
	cppcheck-htmlreport
	dconf-devel
	desktop-file-utils
	gcc
	git
	gobject-introspection-devel
	gtk3-devel
	iso-codes-devel
	itstool
	libappindicator-gtk3-devel
	libSM-devel
	libXScrnSaver-devel
	libcanberra-devel
	libmatekbd-devel
	libgtop2-devel
	librsvg2-devel
	librsvg2-tools
	libudisks2-devel
	make
	marco-devel
	mate-menus-devel
	polkit-devel
	python3-lxml
	mate-common
	redhat-rpm-config
	startup-notification-devel
	systemd-devel
	which
)

infobegin "Update system"
dnf update -y
infoend

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