The actual runtime depends on the actual physical location
where the job happens to run, and the network load at the moment.
It might be very slow, it might be very fast.
Let's be more understanding here.
* Publish source package for every distro, not just the first one processed
* Add README wrapper that was previously manually added
* Autoproduce dists symlink
For debian distros, we're lucky and cross-build *now* just works,
and is as fast as native amd64 builds.
For ubuntu, things are ugly. On questing it currently does not work,
(but maybe they will fix it later), however on plucky it just doesn't work.
So i'm just disabling ppc64el ubuntu builds
since full cross-compilation is really slow,
but if someone actually needs them, those can be reenabled...
TLDR: instead of running the entirety of the job in the container,
start a detached container, and manually run each step
in detached container. This allows to run stuff outside of container.
As noted in IRC, one could use a custom-compiled newer kernel,
so it's useful to still provide tools for the dist.
But disable autopkgtest, since dkms is not usable out-of-the-box.
These tests require qemu, and it's somewhat tricky,
i haven't quite figured out the incantation
that works for Github's aarch64 workers.
I'm also unsure how to make them work for ubuntu builds.
Since debian stable's kernel is too old, as discussed,
i'm disabling PPA for it.
Makes it way easier to identify CI failures for people who try to use
github for contributions.
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
so since up until the last merged changes, this entire gh action pretty
much equated to a no-op, afaict. and even now, the only thing i added in
PR #272 is a formatter check only for *.nix files.
i plan to add more checks soon that will be run by `nix flake check`.
but as of right now, adding this is the quickest way to make sure at
least something useful is done by this workflow.
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
This moves the Rust sources out of rust_src/ and into the top level.
Running the bcachefs executable out of the development tree is now:
$ ./target/release/bcachefs command
or
$ cargo run --profile release -- command
instead of "./bcachefs command".
Building and installing is still:
$ make && make install
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This moves the main() function from C to Rust. It also updates the name
of the Rust package from "bcachefs-rust" to "bcachefs-tools".
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
- make deb fails with dh: error: Unknown sequence --with
(options should not come before the sequence)
- fix deb build deps
- add missing rpm files
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>