Commit Graph

11 Commits

Author SHA1 Message Date
Omar Sandoval
fcb46d5ab8 Revert "CI: temporarily disable Clang"
This reverts commit 1cc3868955. The
previous commit (hopefully) works around the libomp bugs that caused
Clang builds to fail.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-05-06 16:56:42 -07:00
Omar Sandoval
1cc3868955 CI: temporarily disable Clang
Clang tests are hitting this assertion in libomp (libomp5-10
1:10.0.0-4ubuntu1):

  Assertion failure at kmp_tasking.cpp(501): taskdata->td_flags.tasktype == 1.
  OMP: Error #13: Assertion failure at kmp_tasking.cpp(501).
  OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.

Disable Clang builds until we figure out what's going on.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-05-06 01:43:46 -07:00
Omar Sandoval
a1dc80bc38 CI: reenable vmtest
Now that the vmtest kernels have a new home on GitHub, reenable vmtest
for the CI workflow.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-05-05 01:15:40 -07:00
Omar Sandoval
47c8e0e53e vmtest: fix vmtest kernel build command
Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-05-05 00:34:11 -07:00
Omar Sandoval
ebca2d2f8a CI: add action to build vmtest kernels weekly
The previous commit mentioned this action but forgot to add it.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-05-05 00:30:34 -07:00
Omar Sandoval
738261290f CI: temporarily disable vmtest
With the added Clang tests, apparently vmtest is generating excessive
traffic on Dropbox. Disable it on GitHub Actions until I can work out a
new solution.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-04-04 23:06:19 -07:00
Omar Sandoval
c7dc814978 CI: build with -Wall -Werror
This is the documented way that drgn should be built for development, so
let's enforce it.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-04-02 17:28:09 -07:00
Omar Sandoval
113b2700a8 CI: test with GCC and Clang
Everytime I try to build drgn with Clang, there are a few things that
need fixing. Let's test it so that it stays in good shape.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-04-02 17:28:05 -07:00
Omar Sandoval
4c5c5f3842 Remove bundled version of elfutils
We currently bundle a version of elfutils with patches to export
additional stack tracing functionality. This has a few drawbacks:

- Most of drgn's build time is actually building elfutils.
- Distributions don't like packages that bundle verions of other
  packages.
- elfutils, and thus drgn, can't be built with clang.

Now that we've replaced the elfutils DWARF unwinder with our own, we
don't need the patches, so we can drop the bundled elfutils and fix
these issues.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-03-16 00:52:09 -07:00
Omar Sandoval
85a5605e37 CI: run apt-get update before apt-get install
Apparently the package index can be out of date on the newly brought up
VM, leading to 404s, so make sure to update it first.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-01-08 11:22:42 -08:00
Omar Sandoval
1631c11f37 Migrate to GitHub Actions
Travis CI is no longer offering free open source CI, so migrate to
GitHub Actions. The only downside is that GitHub Actions doesn't support
nested virtualization, but we can work around that by falling back to
slow emulation.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-01-01 02:59:50 -08:00