Commit Graph

89 Commits

Author SHA1 Message Date
Colin Walters 9b57bda607 Use glib-sys via re-exported `glib::ffi` (and similar for gio)
In general only `-sys` crates should depend on other `-sys`
crates.  IOW for us, `ostree-sys` depends on `glib-sys`.

By using the re-export, we avoid needing to keep a version lock
between `glib` and `glib-sys` in our main crate.  And similar
is true of our higher level reverse dependencies (e.g. `ostree-rs-ext`).

Also weaken our dependency to `0.14` as that's clearer.
2022-05-06 12:53:57 -04:00
Felix Krull 409527e232 ci: update readme (and pipeline) 2022-05-06 12:53:56 -04:00
Felix Krull 28c8a3e77a ci: refactor pipeline 2022-05-06 12:53:56 -04:00
Felix Krull dc69966a9f ci: change docs build command 2022-05-06 12:53:56 -04:00
Felix Krull be60eb7e66 ci: test building for non-x86 target 2022-05-06 12:53:56 -04:00
Felix Krull 66a16b13b9 ci: use --workspace instead of --all 2022-05-06 12:53:56 -04:00
Felix Krull 296768c2b0 ci: update sccache 2022-05-06 12:53:56 -04:00
Felix Krull fddff04204 Change branch name references 2022-05-06 12:53:55 -04:00
Felix Krull 935cbf4162 ci: simplify pipeline a bit maybe 2022-05-06 12:53:55 -04:00
Felix Krull 175649141e ci: install fewer things 2022-05-06 12:53:55 -04:00
Felix Krull 6a077fff85 ci: build every feature level separately 2022-05-06 12:53:55 -04:00
Felix Krull 6ab1e997ee ci: ignore gir differences in version files 2022-05-06 12:53:55 -04:00
Felix Krull f0d617228f ci: disable clippy warnings for the moment
I can't get it not to check sys/build.rs.
2022-05-06 12:53:55 -04:00
Felix Krull a4cee3c94d Revert "ci: ignore changes in versions.txt lines"
This reverts commit 5fb6d791
2022-05-06 12:53:55 -04:00
Felix Krull 8576adff1d ci: ignore changes in versions.txt lines
Apparently these now change with each commit.
2022-05-06 12:53:55 -04:00
Felix Krull 3e70feb75f Start taking out futures feature 2022-05-06 12:53:55 -04:00
Felix Krull 366e9b729f Add feature alias for the latest OSTree version 2022-05-06 12:53:55 -04:00
Felix Krull 14b511d32b ci: fix setup, again 2022-05-06 12:53:55 -04:00
Felix Krull 53f9c1a3aa ci: install sccache during docs build 2022-05-06 12:53:55 -04:00
Felix Krull 2014336b03 ci: install make 2022-05-06 12:53:55 -04:00
Felix Krull ad6e0569be ci: don't reformat -sys 2022-05-06 12:53:55 -04:00
Felix Krull 486c60489a Set up cargo workspace 2022-05-06 12:53:54 -04:00
Felix Krull 4bdb7b8760 ci: switch to Fedora Rawhide 2022-05-06 12:53:54 -04:00
Felix Krull bdf749b0e6 ci: update sccache 2022-05-06 12:53:54 -04:00
Felix Krull febbd00c27 ci: run crates.io publish on release tags 2022-05-06 12:53:54 -04:00
Felix Krull 8f223aca1a ci: bump used version 2022-05-06 12:53:54 -04:00
Felix Krull f7d769c0c4 ci: fix feature flags 2022-05-06 12:53:54 -04:00
Felix Krull 7f61aeb779 ci: use libostree from unstable 2022-05-06 12:53:54 -04:00
Felix Krull dee0490829 ci: fix 2022-05-06 12:53:54 -04:00
Felix Krull 14577daf7f ci: I guess we did need CMake 2022-05-06 12:53:54 -04:00
Felix Krull 110b09e1cd ci: fix features for -sys 2022-05-06 12:53:54 -04:00
Felix Krull 35fde60318 ci: still need before_script for docs 2022-05-06 12:53:54 -04:00
Felix Krull e4c82f6e8e ci: clean up image 2022-05-06 12:53:54 -04:00
Felix Krull 39532d4160 ci: remove separate futures build 2022-05-06 12:53:54 -04:00
Felix Krull 3597c3c38b ci: include `futures` in docs 2022-05-06 12:53:54 -04:00
Felix Krull 27ac97df87 ci: fix futures job maybe 2022-05-06 12:53:54 -04:00
Felix Krull 43c7791890 ci: add job for futures feature 2022-05-06 12:53:54 -04:00
Felix Krull a521c838f5 ci: run clippy with default features as well 2022-05-06 12:53:54 -04:00
Felix Krull 16718eb155 Revert "Simplify docs build"
This reverts commit b259275dc44e071f4662aa6eb977ff8ad9c3e1af
2022-05-06 12:53:54 -04:00
Felix Krull 1c7df84de1 Simplify docs build 2022-05-06 12:53:54 -04:00
Felix Krull a7079e543f Consolidate some pipeline stages 2022-05-06 12:53:54 -04:00
Felix Krull 4cfda21ff9 Disallow clippy warnings
Let's see if that comes back to bite me
2022-05-06 12:53:54 -04:00
Felix Krull feca7ddae6 Oh wait, check doesn't actually do anything useful for us... 2022-05-06 12:53:54 -04:00
Felix Krull 8982c1914e Force clippy to run even after check 2022-05-06 12:53:54 -04:00
Felix Krull 0c07616342 ci: use sccache 2022-05-06 12:53:54 -04:00
Felix Krull 06489f4926 Check that we haven't included extraneous generated files 2022-05-06 12:53:54 -04:00
Felix Krull 1068d4f619 Adjust CI check flags 2022-05-06 12:53:54 -04:00
Felix Krull fa1bf6cbb8 Add more checks to the pipeline 2022-05-06 12:53:54 -04:00
Felix Krull 40a7eecbf6 Fix docs publish 2022-05-06 12:53:54 -04:00
Felix Krull ebbf285f28 Build docs more smartly 2022-05-06 12:53:54 -04:00