Commit graph

49 commits

Author SHA1 Message Date
Christopher Davis
d48e1a60d0 CI: Remove pages pipeline
This has been failing since February 2020, and is
not needed now that we don't roll our own API crate
anymore.
2021-01-03 18:45:23 -08:00
Christopher Davis
7c2ddf05fb flatpak: Use nightly SDK and git deps
Part of the purpose of nightlies is to help
test and deal with platform breakages.
This can't be adequately done if we don't use the latest
versions of the platform and our dependencies.
2020-10-13 06:14:11 +00:00
Daniel García Moreno
7b59447812 Use org.gnome.Sdk//3.38 2020-09-30 12:45:54 +02:00
Jordan Petridis
a28d0cdf34 ci: make the dependency of nightly push explicit 2020-08-03 21:41:23 +00:00
Jordan Petridis
372c99e3d6 ci: flatpak: remove meson-args variable
We no longer need to manually keep it in sync with the ci.
2020-08-03 21:40:41 +00:00
Jordan Petridis
6fee1f8f4e
ci: fix the rustfmt job
accidently broke it in 18583a40d2
by replasing the wrong string... I am promise I will go to sleep
after this.
2020-05-16 23:03:18 +03:00
Jordan Petridis
18583a40d2
ci: build against the 3.36 image
Follow up of c0b9194e17
2020-05-16 22:56:20 +03:00
Jordan Petridis
f920a2000c
ci: remove deprecated jobs 2020-05-16 22:56:20 +03:00
Abderrahim Kitouni
5cd427a39f CI: Use the standard template
the -sdk-extensions template is no longer needed as of citemplates!15
2020-04-24 06:55:12 +00:00
Bilal Elmoussaoui
87d3db4216 CI: fix pages stage 2020-03-13 11:16:47 +00:00
Jordan Petridis
401bc5ca8d
CI: adapt pages job to use unprivilledged flatpak-builder
https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html
2020-02-24 14:50:12 +02:00
Bilal Elmoussaoui
11c2636c1f Gitlab CI: use template
This allows publishing nightlies.
See https://gitlab.gnome.org/GNOME/Initiatives/wikis/DevOps-with-Flatpak
2019-09-27 17:01:28 +02:00
Julian Hofer
601fa03d1a Update .gitlab-ci.yml
Remove double mention of 'MANIFEST_PATH: "flatpak/org.gnome.Fractal.json"'
2019-08-08 19:26:25 +00:00
Christopher Davis
839f408255 build: Add 'doc' task
Using raw `cargo doc` lead to a situation where the
documentation tried to generate without being
aware of the resources we need to build.
2019-04-29 12:42:50 +00:00
Christopher Davis
f4ce5e7c0d build: hook up tests with meson
Adds our cargo test to meson's testing system so that
`ninja test` runs it in addition to our resource validation tests.
2019-04-27 16:24:08 +00:00
Christopher Davis
7f35195887 CI: create blank versions of configured files before lint
Required now that we have dynamically generated
sources.
2019-04-27 16:24:08 +00:00
Christopher Davis
919037495f build: Place target in meson build dir
Instead of putting target/ and in the source
directory, we can tell our cargo script to put both target
and our cargo-home in meson's build directory. This means
that when triggering a rebuild through meson via tooling
like Builder, Fractal will actually rebuild.
2019-04-27 16:24:08 +00:00
Christopher Davis
7b1734af95 build: Build resources with meson instead of build.rs
Allows us to get rid of build.rs, which was only used to
compile resources. static_resource.rs is now created by
meson, and the meson path is used for include_bytes!.
2019-04-27 16:24:08 +00:00
Christopher Davis
bd4d7b8859 build: Use config.rs instead of env! macro
Previously we were using the env! macro to determine
build-time variables like version, app ID, and locale dir.
Instead of relying on env vars, we can create a configuration
file with meson and import it.
2019-04-27 16:24:08 +00:00
mairandomness
ac42237675 change CI rust-fmt checks to stable rust 2019-02-02 14:32:22 -05:00
Alexandre Franke
4df848370c Fix mentions of World since we moved 2018-12-28 12:44:30 +01:00
Zeeshan Ali
2790339bbf gitlab-ci: Check Rust formatting before building anything
It's mainly just `cargo +nightly fmt`.

Just a slightly modified version of script from Jordan Petridis.

Fixes #369.
2018-11-27 21:15:50 +01:00
Jordan Petridis
190bcf240d
CI: Give up on fancy artifact name
While the artifact has the correct name, the review url is messed up
and the env variable is never resolved.

Previously urls look like so:
"/artifacts/raw/org.gnome.Fractal.${CI_COMMIT_SHA}.flatpak"

I am tired of fighting yaml to get this to work.
2018-08-26 17:32:55 +03:00
Alexander Mikhaylenko
412b733409 CI: Build with development profile 2018-08-24 13:54:47 +05:00
Jordan Petridis
ce4460c318
CI: fix yaml template 2018-08-18 20:20:07 +03:00
Jordan Petridis
7e623da799
CI: build and publish the docs again 2018-08-18 19:50:15 +03:00
Jordan Petridis
58c589731c
CI: Add review apps setup
Also refactor the flatpak job
2018-08-18 19:49:34 +03:00
Jordan Petridis
19d20f07f7
Flatpak: Switch to master branch of the runtime. 2018-08-07 02:05:49 +03:00
Eisha Chen-yen-su
f97b225930 CI: Add gtksourceview3-devel package
This tells GitLab CI to install the package `gtksourceview3-devel` in
order to successfully build Fractal.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Jordan Petridis
0310a7cfd3 CI: disable gitlab pages docs for now
There seems to be some kind of problem with the CI runners and where they get their cache that causes them to not find the gstreamer deps.
2018-06-28 17:28:19 +00:00
Jordan Petridis
215aef2ecb CI: add the rest of the gst deps. 2018-06-27 07:00:46 +00:00
Daniel García Moreno
51e8172ed6 ci: Add gstreamer dep to pages deploy step 2018-06-27 08:42:02 +02:00
Jordan Petridis
e7cc53542e Flatpak and CI: Use the 3.28 runtime till master is fixed. 2018-06-05 09:34:50 +00:00
Jordan Petridis
4b26a0e75f CI: Publish docs with gitlab pages. 2018-05-19 07:58:24 +00:00
Daniel García Moreno
eaadad7e55 ci: rust image for doc generation 2018-05-15 07:53:34 +02:00
Daniel García Moreno
1ed3334f02 CI: Add the deploy stage 2018-05-14 21:12:07 +02:00
Daniel García Moreno
14428ae4bd doc: Fix gitlab-ci yaml indentation 2018-05-14 20:58:42 +02:00
Daniel García Moreno
1e4e668280 doc: Generate rust doc to gitlab pages 2018-05-14 20:57:11 +02:00
BrainBlasted
fd1145aea1 Fixed GitLab CI issue
Since 2394670bf7 all builds on the CI have
been failing. I believe this is the issue.
2018-04-16 18:47:52 +00:00
Jordan Petridis
2394670bf7
Execute glib-compile-resources inside the flatpak env. 2018-04-05 20:58:57 +03:00
Jordan Petridis
167530fada
gitlabci: Use flatpak for the CI build test. 2018-03-19 12:49:11 +02:00
Jordan Petridis
47b9333924
gitlab-ci: Disable cache. 2018-01-11 20:43:45 +02:00
Jordan Petridis
ab00dbee42
gitlab-ci: Disable testing in rustnightly. 2018-01-11 20:14:47 +02:00
Jordan Petridis
ac000ae6d9
gitlab-ci: Remove linters. 2018-01-11 20:03:04 +02:00
Daniel Garcia Moreno
2e129f4668 Revert "Merge branch 'master' into 'master'"
This reverts merge request !9
2017-12-24 13:52:35 +00:00
Jordan Petridis
55c5ad31e1
gitlab-ci: Fix bug where gresources would not be generated, when there was no artifact change. 2017-12-24 14:34:16 +02:00
Jordan Petridis
0612ff9b63
gitlab-ci: Add caching for cargo. 2017-12-22 22:22:32 +02:00
Jordan Petridis
23b9412bf1
Use of the nightly version of rustfmt. 2017-11-12 14:35:10 +02:00
Jordan Petridis
0dea1ccef0
Added a basic gitlab-ci config. 2017-11-12 13:32:08 +02:00