aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)Author
2023-07-13ci: support overriding branch of dependency libsdiekleinekuh
(cherry picked from commit b3e1edaf1afc28a92dfcc52ab0fb1e8a97b446bb)
2023-04-10ci: don't attempt to build container on branches or pushesAleksander Morgado
2023-04-10ci: add explicit debug build with all featuresAleksander Morgado
The release buildtype will disable certain warnings that we do see in debug builds. Ensure we have a test build with all features enabled in debug mode.
2023-04-10ci: always build with -Dwerror=trueAleksander Morgado
Selecting the build type as release limits the amount of warnings that are enabled, so ensure we always build with warnings treated as errors so that we don't miss any warning that would happen on debug builds.
2023-03-15ci: test build without deprecated symbols supportAleksander Morgado
2023-01-03ci: build single plugins also in main and tagsAleksander Morgado
2023-01-03ci: list of plugins from meson configuration itselfAleksander Morgado
2023-01-03ci: update image with gawk and without autotoolsAleksander Morgado
2023-01-03ci: fix enabling qmi/mbim/qrtr support in single-plugin testsAleksander Morgado
2023-01-03ci: fix disabling introspection in single-plugin testsAleksander Morgado
2023-01-03ci: run suspend-resume build tests also in master and tagsAleksander Morgado
2023-01-03ci: use YAML anchor to setup dependenciesAleksander Morgado
2023-01-03ci: add tests for builtin pluginsAleksander Morgado
2022-11-07ci: completely switch to mesonAleksander Morgado
2022-08-09ci: fix systemd suspend-resume enabling in default testAleksander Morgado
2022-08-09ci: new test to build with powerd suspend-resume supportAleksander Morgado
2022-08-09ci: new test to build without suspend-resume supportAleksander Morgado
2022-08-09ci: remove check for WITH_NEWEST_QMI_COMMANDSAleksander Morgado
The newest QMI commands are already builtin the default compilation of ModemManager.
2022-08-09ci: move no-tests check before the default onesAleksander Morgado
2022-07-25ci: build without testcasesDylan Van Assche
Verify if ModemManager builds with everything disabled
2022-02-16ci: enable gtk-doc in meson buildAleksander Morgado
2022-02-16ci: enable tests in meson buildAleksander Morgado
2021-11-08build,meson: Make feature options booleanIñigo Martínez
Different options are set as `feature`, also every possible plugin, but this may cause confusion. All options set as `feature` but plugins have been made `boolean` to avoid further confusions. `help2man` is also installed in the CI image because is required to build different libraries.
2021-11-04ci: switch to trigger pipelines on the 'main' branchAleksander Morgado
2021-10-14Revert "ci: temporarily build single plugins on merge requests"Aleksander Morgado
This reverts commit 18b8a3c78404dfd55d75770884bbca273e8b07ef. We no longer need this, back to only on schedules.
2021-10-14ci: temporarily build single plugins on merge requestsAleksander Morgado
2021-10-14ci: switch single plugins build to use mesonAleksander Morgado
2021-10-03ci: bump image template to refresh CA certificatesAleksander Morgado
At the end of September 2021, Let's Encrypt's DST Root CA X3 certificate expired, and the new ISRG Root X1 took over. Update the CI template so that the new certificate is available and we can keep on cloning the libmbim/libqmi/libqrtr-glib repos without failures.
2021-09-16ci: add meson build testAleksander Morgado
The system template is updated to add new packages required at build time: * libdbus-1-dev is added so that we can autodetect the service directory path via the installed pkg-config file. * udev is added so that we can autodetect the udev rules directory path via the installed pkg-config file. * policykit-1 is added so that the i18n operation merging policy files is able to use the installed ITS files. * bash-completion is added to enable the feature in the meson build. The 'dist' step in the test is fully skipped for now, as the meson port doesn't fully support running all unit tests successfully.
2021-09-13ci: Use feature values for libqmi, libmbim and libqrtr-glibAleksander Morgado
`libmbim`, `libqmi` and `libqrtr-glib` have started using `feature` options in their meson builds.
2021-08-06ci: switch to build libqrtr-glib from git using mesonAleksander Morgado
2021-08-06ci: switch to build libqmi from git using mesonAleksander Morgado
2021-07-28ci: switch to build libmbim from git using mesonAleksander Morgado
2021-07-27ci: remove autoconf-archive from templateAleksander Morgado
2021-05-26ci: build with artifacts only in master and tagsAleksander Morgado
2021-05-26ci: don't trigger build on branches or pushesAleksander Morgado
We rely on merge requests to merge new changes, so let's free a bit the number of pipelines we launch, and avoid doing it on every branch update.
2021-04-28ci: disable introspection and gtk-doc in all tests that don't need itAleksander Morgado
The template image we're using already contains all the necessary build deps to enable introspection and gtk-doc, so we need to explicitly disable them where we don't need them, or otherwise they'll be automatically enabled as the deps are found.
2021-04-28ci: use latest ubuntu LTS by defaultAleksander Morgado
2021-04-14ci: add build tests with QRTR supportAleksander Morgado
2021-04-08CI: make use of ci-templatesBenjamin Tissoires
full list of benefits at: https://freedesktop.pages.freedesktop.org/ci-templates/templates.html#why-use-the-ci-templates But the main ones are: - reproducible (just download the container and run the `script` part to be in the same environment the CI was running) - no more before script that pulls hundreds of MB and spend useless time. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2021-01-15tools: add unit test for test-modemmanager-service.pyFrederic Martinsons
The tests spawn the service via GTestDBus framework and make some test API call while checking libmm interface to verify that informations are well propagated. To be able to use the fresh built libmm typelib, I used a wrapper script to set GI_TYPELIB_PATH (because DBus activation process clean the environment so it is not possible to set it directly in the file). This requires also the install of libgirepository-dev and python3-gi in the CI docker. Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-20qcom-soc: new plugin for Qualcomm SoCsAleksander Morgado
This plugin implements support for old Qualcomm SoCs like the MSM8916 or the MSM8974, where: * control ports are available via RPMSG channels exported as devices e.g. with rpmsgexport: https://github.com/andersson/rpmsgexport * network ports are exposed by the bam-dmux kernel driver: https://github.com/msm8916-mainline/linux/commits/bam-dmux Adding support for newer Qualcomm SoCs (e.g. QRTR+IPA) could be done in a similar way on this very same plugin. This plugin is the first and only one that implements support for a modem device that is "built in" the system, as opposed to external modems that may be available via USB or PCI. The ID_MM_PHYSDEV_UID based udev tags provided by the plugin provide the logic to bind all the SoC ports together in the same modem object, and therefore ID_MM_PHYSDEV_UID should not be used by users to override the ones set by the plugin. All "rpmsg[0-9]*" ports that are considered part of the modem are flagged as candidate, ignoring the parent "rpmsg_ctrl[0-9]*" ports on purpose. This setup therefore assumes that the channels have been exported already as devices (e.g. using rpmsgexport). libqmi 1.27.2 is required to support the "WDS Bind Data Port" message.
2020-09-29ci: create release tarball and hash as build artifactswicadmin
2020-09-28gosuncn: new pluginAleksander Morgado
For now, just with port type hints for the GM800 in MBIM mode.
2020-08-19ci: add build test for WITH_NEWEST_QMI_COMMANDSAleksander Morgado
We keep this logic around, so lets add a build test as well.
2020-06-01ci: always build libqmi with basic collectionAleksander Morgado
Which must be the minimum set of supported messages required by ModemManager.
2020-05-10broadmobi: new pluginAleksander Morgado
Right now, just with port type hints for the BM818.
2019-11-27ci: redefine when jobs are runAleksander Morgado
* single-plugin builds only on schedules * with/without qmi/mbim builds on master and merge requests * default build always, including on branches and when git pushing
2019-11-27ci: new job to build all single-plugin configurationsAleksander Morgado
2019-11-22ci: require autoconf-archiveAleksander Morgado