From 82a6a820316edda8576812a8f57d1612916c55d7 Mon Sep 17 00:00:00 2001 From: Jan Vaclav Date: Thu, 22 Aug 2024 13:12:29 +0200 Subject: [PATCH] gitlab-ci: use meson for check-tree --- .gitlab-ci.yml | 12 ++++++------ .gitlab-ci/ci.template | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d1098453..c86377e9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,11 +60,11 @@ variables: # # This is done by running `ci-fairy generate-template` and possibly bumping # ".default_tag". - ALPINE_TAG: 'tag-5fca51298172' - CENTOS_TAG: 'tag-40039d32d4e4' - DEBIAN_TAG: 'tag-410ffa3d1295' - FEDORA_TAG: 'tag-40039d32d4e4' - UBUNTU_TAG: 'tag-410ffa3d1295' + ALPINE_TAG: 'tag-94fd546ecdd9' + CENTOS_TAG: 'tag-ec274fe113f5' + DEBIAN_TAG: 'tag-cae73089725c' + FEDORA_TAG: 'tag-ec274fe113f5' + UBUNTU_TAG: 'tag-cae73089725c' ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh' CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh' @@ -638,7 +638,7 @@ check-tree: - date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n - date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code - - date '+%Y%m%d-%H%M%S'; ./autogen.sh --disable-autotools-deprecation && [ "$(LANG=C make -C po update-po 2>&1 1>/dev/null | grep -c 'warning:')" = 0 ] + - date '+%Y%m%d-%H%M%S'; meson setup build && [ "$(LANG=C ninja -C build NetworkManager-update-po 2>&1 1>/dev/null | grep -c 'warning:')" = 0 ] pages: stage: deploy diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 208c34903..d1a421f84 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -219,7 +219,7 @@ check-tree: - date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n - date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code - - date '+%Y%m%d-%H%M%S'; ./autogen.sh --disable-autotools-deprecation && [ "$(LANG=C make -C po update-po 2>&1 1>/dev/null | grep -c 'warning:')" = 0 ] + - date '+%Y%m%d-%H%M%S'; meson setup build && [ "$(LANG=C ninja -C build NetworkManager-update-po 2>&1 1>/dev/null | grep -c 'warning:')" = 0 ] pages: stage: deploy