glib/.gitlab-ci
Philip Withnall 8e295e23a5 build: Move lcovrc file to root so it’s picked up by Meson
Move the lcovrc file to the root of the project, so that it’s picked up
by Meson when running `ninja coverage` locally.

See https://github.com/mesonbuild/meson/issues/4628

This won’t affect the code coverage run on the CI, since that explicitly
used the lcovrc file already.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2022-04-28 11:57:45 +01:00
..
android-download-ndk.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
android-ndk.Dockerfile ci: Update Android NDK image to Fedora 34 2022-03-18 11:27:02 +00:00
android-setup-env.sh ci: Drop Android API 21 build jobs 2022-02-20 14:16:11 +00:00
cache-subprojects.sh ci: Limit depth of subprojects when cloning 2020-07-09 12:51:21 +01:00
check-todos.py python: Reformat some files to keep style-check-diff happy 2020-12-12 18:40:57 +00:00
coverage-docker.sh build: Move lcovrc file to root so it’s picked up by Meson 2022-04-28 11:57:45 +01:00
coverity-model.c ci: Add model file for Coverity 2020-09-08 10:34:54 +01:00
coverity.Dockerfile ci: Update Coverity image to Fedora 34 and latest Coverity Scan tool 2022-03-18 10:32:08 +00:00
cross_file_ios_example.txt ci: growing_stack should be true for android and ios 2020-05-29 02:44:44 +05:30
cross_file_mingw64.txt ci: Add -fstack-protector to mingw64 cross file 2021-10-13 10:44:23 +01:00
debian-stable.Dockerfile gio: Remove fam file monitor support 2022-03-23 15:41:54 +00:00
fedora.Dockerfile ci: Update the Fedora CI image to Fedora 34 2022-03-08 13:07:57 +00:00
fixup-cov-paths.py CI: Re-enable code coverage reporting for MSYS2 builds 2020-10-01 14:07:14 +02:00
meson-junit-report.py Rename the master branch to main 2021-06-07 14:03:48 +01:00
mingw.Dockerfile ci: Update mingw image to Fedora 34 2022-03-18 10:38:41 +00:00
README.md ci: Support building a CI image for Coverity Scan builds 2020-07-27 15:41:09 +01:00
run-black.sh Correct shellcheck errors (and ignore world splitting when we want it) 2020-11-15 17:34:27 +01:00
run-check-todos.sh Move common code for searching common ancestor in a dedicated script 2021-01-11 17:04:01 +01:00
run-docker.sh ci: Fix backslash escaping in run-docker.sh 2020-11-20 14:48:14 +00:00
run-flake8.sh ci: Disable formatting warnings in flake8 2020-11-17 15:50:07 +00:00
run-shellcheck.sh Correct shellcheck errors (and ignore world splitting when we want it) 2020-11-15 17:34:27 +01:00
run-style-check-diff.sh ci: Upgrade to clang-format-11 from clang-format-7 2021-11-23 13:13:56 +00:00
run-tests.sh ci: Fix various shellcheck warnings in the shell scripts 2020-02-27 10:33:45 +00:00
search-common-ancestor.sh Rename the master branch to main 2021-06-07 14:03:48 +01:00
show-execution-environment.sh ci: Include details of machine ID in CI output 2021-03-01 13:54:09 +00:00
test-msvc.bat Add Windows native static build using msvc to CI 2022-01-26 12:07:46 +01:00
test-msys2.sh build: Move lcovrc file to root so it’s picked up by Meson 2022-04-28 11:57:45 +01:00

CI support stuff

Docker image

GitLab CI jobs run in a Docker image, defined here. To update that image (perhaps to install some more packages):

  1. Edit .gitlab-ci/Dockerfile with the changes you want
  2. Run .gitlab-ci/run-docker.sh build --base=debian-stable --base-version=1 to build the new image (bump the version from the latest listed for that base on https://gitlab.gnome.org/GNOME/glib/container_registry). If rebuilding the coverity.Dockerfile image, youll need to have access to Coverity Scan and will need to specify your project name and access token as the environment variables COVERITY_SCAN_PROJECT_NAME and COVERITY_SCAN_TOKEN.
  3. Run .gitlab-ci/run-docker.sh push --base=debian-stable --base-version=1 to upload the new image to the GNOME GitLab Docker registry
    • If this is the first time you're doing this, you'll need to log into the registry
    • If you use 2-factor authentication on your GNOME GitLab account, you'll need to create a personal access token and use that rather than your normal password — the token should have read_registry and write_registry permissions
  4. Edit .gitlab-ci.yml (in the root of this repository) to use your new image