]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: drop the "find" kludge
authorEvgeny Vereshchagin <evvers@ya.ru>
Sat, 30 Apr 2022 03:43:29 +0000 (03:43 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 Jun 2023 01:43:06 +0000 (10:43 +0900)
meson no longer complains about install_tag

.github/workflows/build_test.sh
.github/workflows/unit_tests.sh

index 35a0586b44447a85d2bb00b91f33bf8f30c2bc1e..438bc0988db92f6bc7a4af9e33c7fccbddc43953 100755 (executable)
@@ -123,11 +123,6 @@ ninja --version
 for args in "${ARGS[@]}"; do
     SECONDS=0
 
-    # The install_tag feature introduced in 0.60 causes meson to fail with fatal-meson-warnings
-    # "Project targeting '>= 0.53.2' but tried to use feature introduced in '0.60.0': install_tag arg in custom_target"
-    # It can be safely removed from the CI since it isn't actually used anywhere to test anything.
-    find . -type f -name meson.build -exec sed -i '/install_tag/d' '{}' '+'
-
     # mold < 1.1 does not support LTO.
     if dpkg --compare-versions "$(dpkg-query --showformat='${Version}' --show mold)" ge 1.1; then
         fatal "Newer mold version detected, please remove this workaround."
index 562bafb614162020e119870c5800cfe17cd21b43..e9a398c701fe2dca293aa8407c845403d809eff7 100755 (executable)
@@ -70,10 +70,6 @@ for phase in "${PHASES[@]}"; do
                     mv /etc/machine-id /etc/machine-id.bak
                 fi
             fi
-            # The install_tag feature introduced in 0.60 causes meson to fail with fatal-meson-warnings
-            # "Project targeting '>= 0.53.2' but tried to use feature introduced in '0.60.0': install_tag arg in custom_target"
-            # It can be safely removed from the CI since it isn't actually used anywhere to test anything.
-            find . -type f -name meson.build -exec sed -i '/install_tag/d' '{}' '+'
             MESON_ARGS+=(--fatal-meson-warnings)
             run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build
             ninja -C build -v
@@ -94,10 +90,6 @@ for phase in "${PHASES[@]}"; do
                     MESON_ARGS+=(-Dskip-deps=true)
                 fi
             fi
-            # The install_tag feature introduced in 0.60 causes meson to fail with fatal-meson-warnings
-            # "Project targeting '>= 0.53.2' but tried to use feature introduced in '0.60.0': install_tag arg in custom_target"
-            # It can be safely removed from the CI since it isn't actually used anywhere to test anything.
-            find . -type f -name meson.build -exec sed -i '/install_tag/d' '{}' '+'
             MESON_ARGS+=(--fatal-meson-warnings)
             run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Db_sanitize=address,undefined "${MESON_ARGS[@]}" build
             ninja -C build -v