Re: [PATCH 8/8] ci: wire up Meson builds
On Fri, Dec 13, 2024 at 11:01:15AM +0100, Toon Claes wrote:
Show 35 quoted lines
> Patrick Steinhardt <ps@pks.im> writes:
>
> [snip]
>
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > index a1bc92893f27d6dd404133686b71c8061e55618c..8163aacc8c8715d09f19bd1cc7199532fb5141e2 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -20,6 +20,7 @@ test:linux:
> > - saas-linux-medium-amd64
> > variables:
> > CUSTOM_PATH: "/custom"
> > + TEST_OUTPUT_DIRECTORY: "/tmp/test-output"
> > before_script:
> > - ./ci/install-dependencies.sh
> > script:
> > @@ -31,6 +32,7 @@ test:linux:
> > if test "$CI_JOB_STATUS" != 'success'
> > then
> > sudo --preserve-env --set-home --user=builder ./ci/print-test-failures.sh
> > + mv "$TEST_OUTPUT_DIRECTORY"/failed-test-artifacts t/
> > fi
> > parallel:
> > matrix:
> > @@ -67,6 +69,10 @@ test:linux:
> > image: fedora:latest
> > - jobname: linux-musl
> > image: alpine:latest
> > + - jobname: linux-meson
> > + image: ubuntu:latest
> > + CC: gcc
> > + CC_PACKAGE: gcc
>
> Is it needed to explicitly set the CC_PACKAGE? I see in other places we
> only set it when it's set to `gcc-8`?
Good point, it's not necessary.
Thanks for your review!
Patrick