7 Commits

Author SHA1 Message Date
Cole Robinson
9451c1a2ef ci: make it easier to test in forked branches
+ start branch names with `ci/` to easily test in a fork
+ add `workflow_dispatch` to allow manually triggering jobs on
  any branch

Signed-off-by: Cole Robinson <crobinso@redhat.com>
(cherry picked from commit v2v
 df23b503c22579468d7c544c1724507ede84948d)
2026-02-18 12:07:04 -05:00
Cole Robinson
50701c8325 ci: More fixes and tweaks
+ ubuntu
  + fix build by adding --disable-ruby
  + fix a test failure due to missing python libvirt import

+ fedora
  + use `--privileged` docker flag which also handles seccomp disable
    + this makes some network tests work, so enable them

  + exclude a flakey test
  + better document remaining disabled tests

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2026-02-16 08:53:27 +00:00
Cole Robinson
358d17dea1 ci: Drop su -c usage
The `su -c` usage seems to be leftover from someone else's
CI config that was used for inspiration. Drop it. Test suite
in containers now run as root.

The libvirt pieces and new test exclusions were what I needed
to get the test suite working under root

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2026-02-12 13:45:54 -05:00
Cole Robinson
955ea8882b Remove deprecated GObject bindings
These were marked as deprecated in a57f6b8e2. Time to remove them

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2026-02-10 14:29:55 -05:00
Richard W.M. Jones
f2dbcdcce9 github: Use ./configure --enable-werror
We should test with compiler warnings turned into errors, to avoid
warnings being inadvertently introduced in new code.
2025-11-19 19:37:47 +00:00
Richard W.M. Jones
365e7d79f7 github: Don't test on Ubuntu 24.04 twice
It turns out that ubuntu-latest is the same as 24.04, so we're just
testing on the same version twice.  Remove the duplication.

Thanks: Stephen Gallagher
Fixes: commit e218dd73cc
2025-09-09 17:34:15 +01:00
Richard W.M. Jones
e218dd73cc github: Add basic github CI tests
This builds libguestfs and runs the in-tree tests, ie. the basic
'./configure && make && make check'.

We're using the "free for public repositories" plan.  We run the tests
directly on an Ubuntu VM, versions 24.04 & latest.  Also on Fedora 42,
43 in a container (running on the Ubuntu VM).

The tests are run on pushes to the master branch, and on pull
requests to the master branch.

GObject is not built, since the tests fail and anyway there are some
deep problems with the GObject bindings and they probably will be
removed.

Thanks: Stephen Gallagher, Cole Robinson
2025-09-09 13:40:49 +01:00