Commit Graph

110 Commits

Author SHA1 Message Date
Jordan Petridis
c2aca6e3a0
Flatpak: use the 3.36 runtime
Nightly has moved into fd.o-sdk 20.08 base and the rust-sdk
extension for that base is in flux and I haven't had time to
deal with it yet.
2020-06-19 11:42:44 +03:00
Jordan Petridis
eb2d5419f9
CI: fix typo in a9ba3fcbab 2019-12-08 20:53:44 +02:00
Jordan Petridis
a9ba3fcbab
CI: Refactor to use the citemplate
https://gitlab.gnome.org/GNOME/Initiatives/wikis/DevOps-with-Flatpak
2019-12-08 20:45:01 +02:00
Christopher Davis
30e81961e8 Revert "Flatpak: use the 3.32 runtime version"
This reverts commit d8496fe4c4
2019-10-04 11:53:05 +00:00
Jordan Petridis
d8496fe4c4
Flatpak: use the 3.32 runtime version
Until somebody find time to fix the CI image to work
with the 19.08 fd.o base.
2019-07-16 10:34:23 +03:00
Jordan Petridis
bed7a4d6be
CI: fix the app_id that I forgot in the last commit 2019-03-20 23:54:40 +02:00
Jordan Petridis
23a91cca16
CI: fix the flatpak manifest path 2019-03-20 23:23:00 +02:00
Christopher Davis
96d4cd50d4
CI: create blank versions of configured files before lint
Required now that we have dynamically generated
sources.
2019-03-07 07:04:24 +02:00
Christopher Davis
92e2006782
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-03-07 07:04:23 +02:00
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