Commit Graph

101 Commits

Author SHA1 Message Date
Christopher Davis
5b2edc73ec 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!.

Closes https://gitlab.gnome.org/World/podcasts/issues/55
2019-03-07 04:35:31 +00:00
Jordan Petridis
f0ac63cd96
CI: add color to the test output 2019-01-21 03:13:51 +02:00
Jordan Petridis
2257688c65
Use rustfmt from the stable rustup channel 2019-01-05 15:11:27 +02:00
Jordan Petridis
d9c64e7f87
CI: move the rustfmt check before the build/test 2018-12-09 04:02:29 +02:00
Jordan Petridis
990d830f24
cargo fmt 2018-10-23 13:23:01 +03:00
Jordan Petridis
43fce2e89a
CI: Use generic bundle name
When run an environment CI_COMMIT_SHA is not resolved and results
into a 404 url in the review apps
2018-10-04 08:25:50 +03:00
Jordan Petridis
fc80b180bc
CI: Allow rusftm check to fail for now
Stuff broke with rustfmt nightly 0.99.5 and I haven't found time
to look into it yet.
2018-10-04 05:17:21 +03:00
Jordan Petridis
fded78ce6f
Flatpak: Switch to the master runtime again 2018-09-29 11:18:39 +03:00
Jordan Petridis
b1e99b96c4
CI: Switch the flatpak image 2018-09-22 04:53:08 +03:00
Jordan Petridis
a7c95d5718
Pipeline: Remove dependancy on rayon_futures
This requires a RUSTFLAG to be set before hand for rayon to build.
This brakes a lot of tools like rls and clippy by default and
require special configs for itnegration.

Additionally, rayon_futures is still 0.1 and not much work seem
to have gone into it. Ideally it should be replased with the tokio
runtime/threadpool.
2018-09-08 20:17:46 +03:00
Jordan Petridis
a3f5dbfe07
CI: cache only the sources from flatpak-builder
Gitlab CI zips its cache target which causes it to strip
xattributes. This breaks ostree and the cache artifacts.

Cache only the sources instead.
2018-09-05 00:47:45 +03:00
Jordan Petridis
87e8d0b775
Fix the test-suite 2018-08-28 17:50:57 +03:00
Jordan Petridis
569c00ff5f
Allow for parallel development instance
This adds a configuration option in meson, if set it changes the
application ID allowing for stable and development version to be
run at the same time.
2018-08-28 17:22:13 +03:00
Jordan Petridis
92ae681517
Add gtk tests
Currently we only test the GtkBuilder files.
Also I can't find a way to get gtk to uninitialize and reinitialize
in a different thread.

Close #56
2018-08-20 13:14:41 +03:00
Jordan Petridis
7bbd9a1a4f
Update the test script 2018-08-18 16:25:43 +03:00
Jordan Petridis
775d4accf7
Flatpak: switch to master branch of the runtime 2018-08-16 08:30:46 +03:00
Jordan Petridis
703a1baf8b
CI: Move repo export right before the bundle generation 2018-08-16 08:30:42 +03:00
Jordan Petridis
51fdad2ae2
CI: Use variables instread of hardcoding things 2018-08-16 08:30:38 +03:00
Jordan Petridis
86545e5f99
CI: Add git commit sha in the bundle name 2018-08-16 08:30:34 +03:00
Jordan Petridis
5a0413b3e4
CI: Remove --libdir=/app/libdir from meson config
This is not needed anymore I think.
2018-08-16 08:30:29 +03:00
Jordan Petridis
a0ff2b8ae4
CI: set CARGO_HOME before cargo test
This is set in the scripts/cargo.sh during building, but since we
invoke cargo test manually we need to also set it here.
2018-08-16 08:30:24 +03:00
Jordan Petridis
d0144fb0d0
CI: Do not spin up review enviorment for tags 2018-08-14 14:11:16 +03:00
Jordan Petridis
5d1870c1cf
CI: Lower flatpak bundle lifespan 2018-08-14 14:03:06 +03:00
Jordan Petridis
fb87460bc7
CI: Clear unused stuff
No point on keeping them around since libhandy was added as a dep.
No distro packages libhandy currently, so only the flatpak will be
buildable for the foreseeable future.
2018-08-14 14:01:14 +03:00
Jordan Petridis
efc4e299ac
CI: Add env viariable for the tests 2018-08-14 13:58:09 +03:00
Jordan Petridis
848caa275b
CI: re-enable the test-suite 2018-08-14 13:41:12 +03:00
Jordan Petridis
65a0c08cb3
Flatpak: fix previous commit that broke it
I broke both the manifest and the CI in 4da68ff89c
2018-08-10 13:44:48 +03:00
Jordan Petridis
a01cf21f2c
Flatpak: use master runtime of GNOME sdk 2018-08-09 10:25:02 +03:00
Jordan Petridis
83c44aa12c
Replace links again 2018-07-26 07:41:43 +03:00
Jordan Petridis
53be091a31
Replace links 2018-07-25 03:26:41 +03:00
Jordan Petridis
04c68ba013
Initial massive renaming. 2018-07-25 03:26:35 +03:00
Jordan Petridis
ac7b1a3c66 CI: disable debian builds fow now.
Debian stable provides gst 1.10 but the gst-rs bindings requiere
v 1.12 to build.

I will make custom images Soon™
2018-06-23 22:45:12 +00:00
Jordan Petridis
55d94b1844 CI: Add gstreamer as a dep for the debian build. 2018-06-23 22:45:11 +00:00
Jordan Petridis
acabb40171 CI and Flatpak: Use the 3.28 runtime till fdo 1.8 is fixed. 2018-06-04 14:25:38 +00:00
Jordan Petridis
04cd56ca16 CI: change the image of the flatpak job. 2018-06-02 20:55:09 +00:00
Jordan Petridis
d7a9d9ddc8
CI: FIx the clippy cache. 2018-05-31 14:46:51 +03:00
Jordan Petridis
0b6bbf6733
CI: Fix rustfmt job. 2018-05-20 14:36:20 +03:00
Jordan Petridis
463c3908d4
Revert "gitlabci: switch to test rust-nightly till the stable image is update."
This reverts commit 2711ebca68.

Rust stable image is updated again.
2018-05-16 21:00:35 +03:00
Jordan Petridis
79239a2e01
gitlabci: Cache cargo for the clippy job. 2018-05-16 20:59:54 +03:00
Jordan Petridis
6f590a64af
gitlabci: Fix review-app. 2018-05-12 23:01:50 +03:00
Jordan Petridis
2711ebca68
gitlabci: switch to test rust-nightly till the stable image is update. 2018-05-11 13:54:25 +03:00
Jordan Petridis
777a2102f8
gitlabci: Add review apps.
This makes it able to show a link pointing to the bundle in Merge Requests.
2018-05-10 18:46:52 +03:00
Jordan Petridis
65949c5af5
gitlabci: Extend the lifespan of the flatpak bundle.
For more information see the following nautilus commit.
3a35b6035a

Closes #60.
2018-05-10 18:46:52 +03:00
Jordan Petridis
e40f880b9e
gitlabci: Use prebuilt clippy image
Since clippy won't fail to install now that it's bundled in the
container image also do not allow the to fail
2018-05-10 18:38:51 +03:00
Jordan Petridis
37c7f20256
gitlabci: Always run clippy as part of the lint state now. 2018-05-02 16:05:03 +03:00
Ivan Augusto
2f1ea12cfa Update links to new repo 2018-04-19 17:23:46 -03:00
Jordan Petridis
18820202d7
gitlabci: Add needed ENV vars.
abc8fb988f uses an feature of rayon
that's behind a compile time flag.
2018-04-18 07:06:17 +03:00
Jordan Petridis
822a72efde
gitlabci: Enable the ubuntu/rust stable build, disable tests in flatpak
Due to meson not understanding cargo, it's actually faster to have
a separate build + test job than trying to compile the cargo
tests twice inside the flatpak enviroment
2018-03-27 10:04:02 +03:00
Jordan Petridis
e497f73316
gitlabci: run glib-compile-resources from the flatpak enviroment 2018-03-21 14:24:56 +02:00
Jordan Petridis
28965dc2b1
gitlabci: Disable normal builds now that tests can run on the flatpak one. 2018-03-19 12:00:53 +02:00