Skip to content

Replace defunct CI with GitHub Actions#74

Merged
caolanm merged 9 commits into
masterfrom
private/caolan/ci
May 18, 2026
Merged

Replace defunct CI with GitHub Actions#74
caolanm merged 9 commits into
masterfrom
private/caolan/ci

Conversation

@caolanm
Copy link
Copy Markdown
Contributor

@caolanm caolanm commented May 17, 2026

Travis-CI shut down for open source in 2020-2021 and LGTM was folded into CodeQL in late 2022, so .travis.yml, lgtm.yml, and their README badges have not reached any active service for years.

Add a GitHub Actions workflow that runs autogen, build, and tests on Ubuntu (gcc and clang) and macOS (clang), drop the defunct configs, and point the README at the new workflow.

caolanm added 3 commits May 18, 2026 08:26
With this in place configure picks the right toolset for clang and
finds the expected Boost libraries.
On macOS the hardcoded libtoolize call in autogen.sh fails.

Use the same approach ass libabw, libetonyek, etc
Move both warning blocks to just before AC_CONFIG_FILES so the checks
use the plain flags.
@caolanm caolanm force-pushed the private/caolan/ci branch from 7357dee to c84d7a2 Compare May 18, 2026 07:30
clang rejects them under -Werror -Wstrict-prototypes.
@caolanm caolanm force-pushed the private/caolan/ci branch from c84d7a2 to 7da8977 Compare May 18, 2026 07:51
Rewrite the -I that boost.m4 emits in BOOST_CPPFLAGS to -isystem so
boost is treated as a system include on every platform.

That hacks around that macOS brew installs boost, etc under
/opt/homebrew/include
@caolanm caolanm force-pushed the private/caolan/ci branch from 7da8977 to 4064f96 Compare May 18, 2026 07:59
@caolanm caolanm force-pushed the private/caolan/ci branch 2 times, most recently from 22d41ff to defb47f Compare May 18, 2026 08:38
On macOS brew installs cppunit etc under
/opt/homebrew/include and the build fails with
"cppunit/extensions/HelperMacros.h: file not found".
@caolanm caolanm force-pushed the private/caolan/ci branch from defb47f to f1e3f7b Compare May 18, 2026 08:52
caolanm added 2 commits May 18, 2026 10:01
on macOS brew installs them under /opt/homebrew/lib and the link fails
with "library 'boost_date_time' not found".
Travis-CI shut down for open source in 2020-2021 and LGTM was folded
into CodeQL in late 2022, so .travis.yml, lgtm.yml, and their README
badges have not reached any active service for years.

Add a GitHub Actions workflow that runs autogen, build, and tests on
Ubuntu (gcc and clang) and macOS (clang), drop the defunct configs,
and point the README at the new workflow.
@caolanm caolanm force-pushed the private/caolan/ci branch from f1e3f7b to cdbbe7e Compare May 18, 2026 09:01
@caolanm caolanm merged commit fe30fbb into master May 18, 2026
3 checks passed
@caolanm caolanm deleted the private/caolan/ci branch May 18, 2026 09:10
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.

1 participant