In order for build.sh to see variables on Cirrus CI, we have to make sure they get passed through from the gitlab container. This will make it possible to skip language bindings that don't work on FreeBSD or MacOS. --- .gitlab-ci.yml | 3 +++ ci/cirrus/build.yml | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ece6ced1..0141b6b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,6 +87,9 @@ include: '/ci/gitlab.yml' -e "s|[@]PYTHON@|$PYTHON|g" -e "s|[@]PIP3@|$PIP3|g" -e "s|[@]PYPI_PKGS@|$PYPI_PKGS|g" + -e "s|[@]PERL@|$PERL|g" + -e "s|[@]GOLANG@|$GOLANG|g" + -e "s|[@]RUST@|$RUST|g" <ci/cirrus/build.yml >ci/cirrus/$NAME.yml - cat ci/cirrus/$NAME.yml - cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml index dd0b800a..30a6f2d8 100644 --- a/ci/cirrus/build.yml +++ b/ci/cirrus/build.yml @@ -9,6 +9,9 @@ env: PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@" PYTHON: "@PYTHON@" MAKE: "@MAKE@" + PERL: "@PERL@" + GOLANG: "@GOLANG@" + RUST: "@RUST@" build_task: install_script: -- 2.39.2 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs