diff options
author | Ralph Giles <giles@thaumas.net> | 2021-06-22 10:56:37 -0700 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2021-06-26 05:12:56 +0000 |
commit | b7a4402aebb4c4d9958f8bdac600ecd204f8737c (patch) | |
tree | 4f42d0cb8795f0e79aa2693ced4dff24d009d12d /m4/add_cxxflags.m4 | |
parent | bab58c374ff069244d29e0022885324d96cfd5ee (diff) | |
download | flac-b7a4402aebb4c4d9958f8bdac600ecd204f8737c.tar.gz |
gitlab-ci: Add build configs.
Define builds for gitlab's continuous integration runners so we
some feedback on versions of the code hosted there, particularly
https://gitlab.xiph.org/xiph/flac.
Build with GNU Autotools, with CMake+ninja, and verify
the Makefile.lite build.
This uses the same Debian-based docker.io/library/gcc:9 container
image we use for most of the codec projects. That container
doesn't specify an unprivileged user so that we can install
packages.
However, some of flac's file-creation tests must be run as an
unprivileged user who owns the source tree. We therefore
create a user account and use `su` to run the tests.
In the case of the autotools job, `make distcheck` unpacks
the packaged source, so this takes care of ownership.
In the case of the other jobs, we must `chown` the entire
checkout and complete the build as the unprivileged user.
Another way to address this would be to define a custom
container image with the prerequisites installed before
switching to an unprivileged user for the entire build.
The current approach was simpler to get working.
Diffstat (limited to 'm4/add_cxxflags.m4')
0 files changed, 0 insertions, 0 deletions