Commit 1fd9e54b authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Codify how to build on Arch Linux

Some libcapsule users and contributors are using Arch Linux or Manjaro
rather than a Debian derivative.

Many of the tests will be skipped on Gitlab-CI because they need a
working bubblewrap, which isn't allowed inside unprivileged Docker;
but this provides "executable documentation" for how to do a build
and test.
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
parent 2b213daa
Pipeline #8175 passed with stage
in 8 minutes and 20 seconds
......@@ -94,3 +94,43 @@ build:bionic:
BUILD_IMAGE: 'ubuntu:bionic'
LIBJPEG62: 'libjpeg62'
when: manual
BUILD_IMAGE: 'archlinux'
image: ${BUILD_IMAGE}
# bubblewrap-suid instead of bubblewrap will be necessary on some
# kernels.
# Full test coverage is likely to require running with
# docker run --privileged, which Gitlab-CI doesn't normally do;
# as much as anything, this is here to document what's necessary
# to build libcapsule with full test coverage.
- |
pacman -Syu --needed --noconfirm --noprogressbar \
autoconf \
autoconf-archive \
automake \
bubblewrap \
chrpath \
gcc \
glib2 \
gtk-doc \
libelf \
libjpeg6-turbo \
libtool \
libxslt \
make \
perl \
perl-ipc-run \
pkgconf \
sudo \
script: |
make check
make distcheck
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment