summaryrefslogtreecommitdiff
path: root/.github/workflows/archlinux.sh
blob: 1b51ed1ac72e7a6507e2a865fa4d25faa0d29db1 (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
#!/usr/bin/bash

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

# Required packages on Archlinux
requires=(
	ccache # Use ccache to speed up build
)

requires+=(
	autoconf-archive
	caja
	clang
	gcc
	git
	glib2
	make
	mate-common
	python-docutils
	python-gobject
	which
)

infobegin "Update system"
pacman --noconfirm -Syu
infoend

infobegin "Install dependency packages"
pacman --noconfirm -S ${requires[@]}
infoend