Commit e8a023c
authored
Migrate Travis CI to GitHub actions CI (#85)
* Migrate CI from Travis to GitHub Actions
Replaces the Travis configuration with an equivalent GitHub Actions
workflow at .github/workflows/ci.yml. Same matrix (ubuntu-latest +
macos-latest), same build pipeline (autogen.sh, make, make check,
make install), same on-failure log dump for utils/*.log.
Two minor modernizations:
- Switches the Ubuntu guile package from guile-2.0-dev to
guile-3.0-dev. guile-2.0 was dropped from Ubuntu after 20.04;
libctl already builds and runs against guile 3.0.
- macOS dependency install adds autoconf/automake/libtool explicitly
rather than relying on the runner image to provide them.
Workflow triggers on push to master, pull_request to master, and
manual workflow_dispatch. fail-fast disabled so a failure on one OS
doesn't cancel the other.
Also removes the Travis CI badge from README.md and replaces it with
a GitHub Actions badge pointing at the new workflow.
* CI: drop macOS, add OMP_NUM_THREADS matrix to exercise parallel tests
Drops the macos-latest matrix entry per maintainer preference (less
useful: project is primarily Linux-targeted, macOS runners cost more
minutes, and the existing Travis macOS coverage didn't exercise
anything Linux didn't).
Adds --enable-openmp to the configure step and matrices the run on
OMP_NUM_THREADS = 1 and 8. Both values share the same build; only
the runtime thread count differs. This catches regressions in the
parallel test paths (test-prism's #pragma omp parallel for loops in
test_point_inclusion, test_normal_to_object, and
test_line_segment_intersection) that a serial-only run wouldn't
flag — same matrix philosophy used to validate the prism
thread-safety work in PR #75 / #81.1 parent 52555f6 commit e8a023c
3 files changed
Lines changed: 42 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments