From 5bed3f1ff3cbb740a05248656452b06501c40a0a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 10 May 2021 08:34:11 +1000 Subject: [PATCH] ci: hook up shellcheck --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eae5c6b88..02763f606 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ include: .fedora: variables: # Update this tag when you want to trigger a rebuild - FDO_DISTRIBUTION_TAG: '2021-03-25.1' + FDO_DISTRIBUTION_TAG: '2021-05-10.0' FDO_DISTRIBUTION_VERSION: '33' FDO_DISTRIBUTION_PACKAGES: >- alsa-lib-devel @@ -41,6 +41,7 @@ include: meson pulseaudio-libs-devel sbc-devel + ShellCheck SDL2-devel systemd-devel vulkan-loader-devel @@ -192,6 +193,13 @@ build_with_coverity: - build-*/meson-logs - cov-int/build-log.txt +shellcheck: + extends: + - .build_on_fedora + stage: analysis + script: + - shellcheck $(git grep -l "#\!/.*bin/.*sh") + pages: extends: - .not_coverity