Skip to content

Migrate Travis CI to GitHub actions CI#85

Merged
stevengj merged 3 commits into
NanoComp:masterfrom
Luochenghuang:migrate-travis-to-github-actions
May 29, 2026
Merged

Migrate Travis CI to GitHub actions CI#85
stevengj merged 3 commits into
NanoComp:masterfrom
Luochenghuang:migrate-travis-to-github-actions

Conversation

@Luochenghuang

Copy link
Copy Markdown
Contributor

Replace Travis CI to Github actions CI.
Closes #84

Luochenghuang and others added 3 commits May 29, 2026 13:44
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.
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 NanoComp#75 / NanoComp#81.
@stevengj
stevengj merged commit e8a023c into NanoComp:master May 29, 2026
@Luochenghuang
Luochenghuang deleted the migrate-travis-to-github-actions branch July 6, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enable CI in this repo

2 participants