--nextPart10120926.CC4Jp6DQt1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Milian Wolff To: Ben Cooksley Cc: "kde-devel@kde.org" Subject: Re: How to get dependencies into freebsd ci? Date: Sat, 16 Sep 2023 22:08:46 +0200 Message-ID: <3820694.1gtV1HdCM8@milian-workstation> MIME-Version: 1.0 On Samstag, 16. September 2023 22:00:37 CEST Ben Cooksley wrote: > On Sun, Sep 17, 2023 at 3:16=E2=80=AFAM Milian Wolff wr= ote: > > Hey all, >=20 > Hi Milian, >=20 > > While looking at the kate CI setup, I saw that it gets build on freebsd= =2E I > > would like to get that coverage too for heaptrack, but when I try to add > >=20 > > https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-template= s/ > > freebsd.yml > >=20 > > Then heaptrack fails to find the elfutils dependency. This works on lin= ux, > > but > > I have zero clue how that is done. > >=20 > > Can I add dependencies covered by `craft` to `.kde-ci.yml`? >=20 > Dependencies are managed in different ways depending on the platform in > question. >=20 > For Linux, Android and Windows builds, this starts with a Docker image th= at > can be found at https://invent.kde.org/sysadmin/ci-images > You can have dependencies added to those by filing a merge request against > that repository. >=20 > As you'll see, in the case of Linux we source just about everything from > the distro package manager (in our case, it's SUSE Tumbleweed). > For Android and Windows, the majority of the dependencies come from Craft. >=20 > FreeBSD is the exception to all of this, as those builders are fixed > permanent machines rather than ephemeral containers that are only around > for a single build. > For these, please file a Sysadmin ticket. >=20 > > Where can I find documentation on what to put in there? Furthermore, is > > there > > some best practices when it comes to CI configuration for KDE projects?= By > > chance I found https://community.kde.org/Infrastructure/GitLab/CI/ > > Static_Code_Analysis which is interesting - is there more like it > > somewhere? >=20 > I'm afraid we've not done a terribly good job at documenting things, > however if you are using the templates available at > https://invent.kde.org/sysadmin/ci-utilities/-/tree/master/gitlab-templat= es > then i'd refer you to > https://invent.kde.org/sysadmin/ci-utilities/-/blob/master/config-templat= e.y > ml?ref_type=3Dheads for the options that the system supports. Note that t= hese > aren't used by the craft-* or flatpak templates as those are CD jobs rath= er > than CI jobs. Thanks. Where can I find out what these options actually do? `force-inject- asan` sounds interesting. Generally, is it possible to compile and run tests with asan enabled - idea= lly=20 configured through a CMakePreset? > The Static Code Analysis job referred to there is based on legacy Jenkins > infrastructure which has been shutdown and it therefore will no longer > function, however the new system provides analysis jobs that work with > cppcheck to provide similar functionality if enabled. So the wiki page is obsolete and should be removed? And cppcheck is nice, but it's a long shot from clang-tidy and clazy. I=20 understand that's the way it is for now and it's not possible to get=20 additional checks enabled for projects? =2D-=20 Milian Wolff mail@milianw.de http://milianw.de --nextPart10120926.CC4Jp6DQt1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmUGC04ACgkQ8zYW/HGd OX+hug//Tjph0QKE7jqd/3+itpRvXW4kYeJvj/bXvzW5L5vmO+JRVAuklI/ba/Mq xIHMg7odQsxgQQp76c8bsyDL4h02tmmP/j8t4uElKMREqw7JhqgT0CaAtonbWJns DtS/T7kK2rLbkaiynBqlqjC4ME0ojK6rCgCr+FiMNo8SX160uVcXKjIgoo+qSVDM 7jFNm6QwwyH6tOx4YFo4RPWreIcNhmGfOTvFn6COdLVugtghSVQrtM1MVdMbE/1f EuG4o6tgQfWl3OKf5c5dAhG1B7CZCkqSD62d0U1MI5/qWXXuJNhU9D09FbM4uVRQ SeC36sq86XJKsMy7MDPQmEgkM+Muu9tosv8zqVYo+avpQjoXfIZ+Ydl5p3bWYWuJ a6Y2fj0/4LA1lmrVdK18HqOgeiNKxjtU0Bw+Ext6yJAAziCetCqCaUJF3dJDnLU2 KTB9KPBD2IXTxM8bfIaBR8KnNuzCdBa86XhKX2WrCePDMWAFAAH9xSMC0fzULjz1 UkTQOXgjWQnGn+md/mFSSpNWFLne6HzHzeyltpIjBpARTpTXZERbdxVr80JsbjX5 z/fdFeHQTArAmMBDsxQa1xUSHXBa8NI1k6nXUrKd27fT5arDTbTULro5a8MNya7f n9l2CT7QcMk7EpwtuegYkUXEk1z3xHckIKkal6q/Dut4sWiRw8U= =d25H -----END PGP SIGNATURE----- --nextPart10120926.CC4Jp6DQt1--