Commit graph

171 commits

Author SHA1 Message Date
Ernestas Kulik fc5d9cbcbc Flatpak: Don’t rename the manifest
We can have non-matching ID and file name, and we only keep one
manifest.
2018-03-19 14:17:11 +02:00
Carlos Soriano 982e508423 CI: Flapak: Add comment about keeping in sync with the manifest 2018-03-19 12:04:26 +00:00
Carlos Soriano a345517222 CI: Flatpak: Remove spurious new line 2018-03-19 08:38:28 +00:00
Carlos Soriano 43f34d7efd CI: Flatpak: Fix typo 2018-03-19 08:35:07 +00:00
Jordan Petridis 77417cf0a5
gitlabci: Use single artifacts block.
Workaround for https://gitlab.com/gitlab-org/gitlab-ce/issues/34954
2018-03-19 10:19:43 +02:00
Jordan Petridis 153ee62edb
flatpak: switch to using gnome-nightly 2018-03-19 09:51:30 +02:00
Ernestas Kulik 86ce532daf CI: fix build log path
As of d36fa3fdab, the build directory is
in the source checkout.
2018-03-18 22:28:08 +02:00
Ernestas Kulik 14e12c27d8 CI: don’t install git
The GitLab runner can take care of submodules.
2018-03-18 22:28:08 +02:00
Ernestas Kulik df583c2e4a general: Allow running in separate instance
When hacking on Nautilus, it is very inconvenient to have to close any
running instance before running the built version. This commit enables
running three different instances by changing the application ID.
Beside the default “profile” is one crafted for stable flatpak
releases and one for development. The stable flatpak profile adds an
identifying mark to the about dialog to aid collecting information in
bug reports. The development profile is that plus additional styling to
help visually identify the development instance. It also will be used
when generating Flatpak bundles with the help of CI.

Generally, the implementation is slightly hacky to allow all the
different workflows, spanning from regular installations to GNOME
Builder flatpak builds, as each comes with its own quirks.
2018-03-18 22:28:08 +02:00
Carlos Soriano 199506573d Merge branch 'master' into 'master'
gitlabci: Flatpak minor tweaks

See merge request GNOME/nautilus!152
2018-03-18 20:04:29 +00:00
Ernestas Kulik 255a345eab CI: simplify flatpak finish and export stages 2018-03-18 18:54:17 +02:00
Jordan Petridis 7afe55aa0b
gitlabci: Add caching for the flatpak build. 2018-03-18 17:53:57 +02:00
Jordan Petridis 5c48e7136c
gitlabci: Allow for the cross-distro state to be triggered manually from the web gui. 2018-03-18 17:43:07 +02:00
Jordan Petridis be0e8c9049
gitlabci: Use yaml anchors as templates. 2018-03-18 17:41:53 +02:00
Ernestas Kulik dafcbe5a2a CI: let the GitLab runner fetch submodules 2018-03-18 15:43:24 +02:00
Ernestas Kulik d36fa3fdab CI: build from pre-existing checkout
This should make MRs work properly and fix any issues regarding running
tests.
2018-03-18 15:02:36 +02:00
Carlos Soriano f3c46128db Revert "CI: What do you mean no such file or directory?"
This reverts commit 7ee177a526
2018-03-17 23:46:03 +00:00
Carlos Soriano 7ee177a526 CI: What do you mean no such file or directory? 2018-03-17 23:36:23 +00:00
Carlos Soriano 2172bb0558 CI: Use only Flatpak build for MR's
So everyone uses the same environment, including the CI.

Distributions will be tested weekly.
2018-03-17 23:16:06 +00:00
Carlos Soriano 183b724b71 CI: Flatpak: Remove export, it's not neccessary 2018-03-17 14:13:59 +00:00
Carlos Soriano e28f436fab CI: Ubuntu: Add libgirreposiroty1.0-dev 2018-03-17 13:24:56 +00:00
Carlos Soriano 6a4a2acf6c CI: Create artifacts when test fail 2018-03-17 12:36:44 +00:00
Carlos Soriano fcaae18d76 CI: Ubuntu: Update before installing packages to fetch the metadata 2018-03-17 12:23:19 +00:00
Carlos Soriano 69b3c64d4b CI: Seems gettext is not available? It works locally though :/ 2018-03-17 10:31:58 +00:00
Carlos Soriano c7dba5f092 CI: Update Ubuntu packages 2018-03-17 09:22:12 +00:00
Carlos Soriano cb88cd9ba8 CI: I keep removing old code because of the online editor :/ 2018-03-17 09:01:32 +00:00
Carlos Soriano a5a3735c82 CI: Use capitalized names for distros 2018-03-17 08:26:54 +00:00
Carlos Soriano 985c88dba5 CI: Need git to install gcovr 2018-03-17 08:25:29 +00:00
Carlos Soriano a0cdd4dad7 CI: No idea how, but I removed previous code. Readding. 2018-03-17 00:13:53 +00:00
Carlos Soriano 62db01cf53 CI: Amazing, redhat-rpm-config is required to build but it's not part of builddep... 2018-03-17 00:08:47 +00:00
Carlos Soriano dd112a11dd CI: Automate builddep 2018-03-17 00:01:40 +00:00
Carlos Soriano f7bd4db805 CI: Seems builddep is not installed in the Fedora image? :/ 2018-03-16 23:57:57 +00:00
Carlos Soriano bb50329ff8 CI: Simplify fedora build using builddep
It surprises me that other systems doesn't have this one... it's quite
useful tool.
2018-03-16 23:52:11 +00:00
Carlos Soriano 1957f1304c CI: Use better names 2018-03-16 23:23:08 +00:00
Carlos Soriano 9b601455cb CI: Update OpenSUSE 2018-03-16 23:18:01 +00:00
Carlos Soriano c42c09801a CI: Fix typo again, it's late... 2018-03-16 21:15:45 +00:00
Carlos Soriano a6ac49465b CI: Revert to have test pipeline a full build
ninja test regenerates a full build anyway...
2018-03-16 21:01:33 +00:00
Carlos Soriano 4f4c1a3c97 CI: Seems git is needed in the test phase? 2018-03-16 20:48:55 +00:00
Carlos Soriano 3a55f2e233 CI: Make sure we have meson installed for the tests... 2018-03-16 20:22:24 +00:00
Carlos Soriano bd53624dba CI: Fix typo 2018-03-16 20:01:25 +00:00
Carlos Soriano 9f123b396f CI: Make build an artifact to avoid building twice. 2018-03-16 19:54:42 +00:00
Carlos Soriano b091b21ded CI: Add comment about removing git installation for Flatpak when ready 2018-03-16 19:46:54 +00:00
Carlos Soriano bf69e17485 CI: Sperate weekly tests into its own stage of pipeline 2018-03-16 19:09:56 +00:00
Carlos Soriano 4051fa76cd CI: Fix typo, thanks Ernestas for saving me 1h... 2018-03-16 19:06:47 +00:00
Ernestas Kulik 819919ad8e CI: remove removed build option 2018-03-16 21:00:38 +02:00
Carlos Soriano cda1cb0b15 CI: Generate a Flatpak file for testing by non code members. 2018-03-16 17:33:24 +00:00
Carlos Soriano c2e12611be CI: Fix typo 2018-03-16 17:00:33 +00:00
Carlos Soriano e7feacc546 CI: Add weekly builds in major dev distributions 2018-03-16 16:57:23 +00:00
Carlos Soriano b12df2dae0 CI: Build also in non-master branches
I forgot contributions are made in non-master...
2018-03-16 16:31:51 +00:00
Carlos Soriano 31300d84ef CI: Actually remove the installation in before_script... 2018-03-16 15:14:08 +00:00
Carlos Soriano 033325bfa1 CI: Avoid installing packages for Flatpak 2018-03-16 14:58:24 +00:00
Carlos Soriano 3d87dd9918 CI: Fixed to previous commit and split build and test 2018-03-16 14:51:02 +00:00
Carlos Soriano 0d607e2908 CI: Add Flatpak build 2018-03-16 14:00:47 +00:00
Ernestas Kulik 270edc9e57 CI: use F28 image 2018-03-12 15:37:34 +00:00
Ernestas Kulik 9898636bea CI: install gcovr from upstream
The fix that we need has been merged, but the release will not happen
very soon.
2018-03-12 15:37:33 +00:00
Ernestas Kulik cd0c41093d CI: import F29 key
Rawhide already features some F29 packages, but the key is not
installed.
2018-03-03 17:35:08 +00:00
Ernestas Kulik 3290d65763 CI: disable coverage report
gcovr is broken with GCC 8 due to changes in Gcov report format. Revert
when https://github.com/gcovr/gcovr/pull/228 is merged.
2018-02-26 17:09:07 +02:00
Ernestas Kulik 47b7881379 CI: use Rawhide image
Since we’re going to depend on an unstable GLib version that isn’t in
F27 repos, this might be something we want to do.
2018-02-26 16:51:27 +02:00
Ernestas Kulik 10a6130bb7 CI: report code coverage 2018-01-08 16:09:37 +02:00
Carlos Soriano 93bd5ca42e CI: Only run displayless tests 2018-01-06 00:21:11 +00:00
Carlos Soriano e7578a2de0 CI: Use a simple stage, we are not that fancy 2018-01-05 23:24:38 +00:00
Carlos Soriano 6288d4156f CI: Enable cache 2018-01-05 23:07:49 +00:00
Carlos Soriano 0e1467c957 CI: fix indentation 2018-01-05 22:07:34 +00:00
Carlos Soriano 9662151a0f CI: Add test phase 2018-01-05 22:06:00 +00:00
Carlos Soriano 2fff34b21c CI: Install meson from Fedora
Using a newer enough system there is no need to install from pip, that
seems was giving some issues.
2018-01-05 12:12:30 +00:00
Carlos Soriano 06fa0428c0 CI: Use the correct pip command 2018-01-03 16:35:52 +00:00
Ernestas Kulik 827a79a8c0 CI: drop unused dependencies 2018-01-02 13:11:07 +02:00
Carlos Soriano 816b8247f3 CI: Install meson from pip
We always need the latest one.
2018-01-02 10:41:46 +00:00
Ernestas Kulik 4cf282086f CI: use F27 image for updated GTK+ 2017-12-08 14:47:50 +00:00
Carlos Soriano 6c63ba82f2 CI: Update for latest gexiv2 addition 2017-11-20 12:10:34 +00:00
Florian Müllner 5c10353f10 ci: Add initial gitlab continuous integration
Eventually we want continuous integration based on flatpak-builder,
but for now use a Fedora docker image. Do not run the test suite for
now, as some of the tests require access to the display server and
we'll still need to figure out how to provide that ...
2017-10-29 02:13:34 +01:00