Skip to content

Fix CI: adapt to libKriging .travis-ci/ → tools/ rename#22

Merged
yannrichet merged 2 commits intomasterfrom
fix/ci-travis-to-tools-rename
Mar 18, 2026
Merged

Fix CI: adapt to libKriging .travis-ci/ → tools/ rename#22
yannrichet merged 2 commits intomasterfrom
fix/ci-travis-to-tools-rename

Conversation

@yannrichet
Copy link
Copy Markdown
Member

Problem

The latest libKriging submodule update (PR#314) renamed .travis-ci/ to tools/. This broke CI in two ways:

Build failure (R-CMD-check, submit-CRAN, R-CMD-INSTALL-build)

tools/build.sh used ls -a | grep travis-ci to find CI scripts inside src/libK/. Since .travis-ci/ no longer exists, the cmake build never ran → no inst/include generated → lkalloc.hpp: No such file or directory.

install_github failure

devtools 2.5.0 deprecated install_github() and requires the remotes package, which wasn't being installed.

Fix

  • tools/build.sh: Detect tools/common (new layout) before falling back to travis-ci (legacy)
  • tools/setup.sh: Only run .travis-ci rename when directory actually exists
  • install_github.yml: Install remotes alongside devtools

yannrichet and others added 2 commits March 18, 2026 17:42
The libKriging submodule (PR#314) renamed .travis-ci/ to tools/.
This broke the R package build because tools/build.sh could not
find the CI scripts directory.

Changes:
- tools/build.sh: detect tools/common (new) before falling back
  to travis-ci (legacy) for CI scripts directory
- tools/setup.sh: only run .travis-ci rename+sed when directory
  actually exists; skip cleanly for new layout
- install_github.yml: install remotes alongside devtools, since
  devtools 2.5.0 requires it for install_github()

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@yannrichet yannrichet merged commit b810ff9 into master Mar 18, 2026
26 of 44 checks passed
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