File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed
Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 6262 fi
6363 # Add --insecure to workaround missing certificates on Windows
6464 curl --insecure --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' -LO "https://raw.githubusercontent.com/libKriging/rlibkriging/${REF}/tools/install_packages.R"
65- Rscript --no-save ./install_packages.R devtools
65+ Rscript --no-save ./install_packages.R remotes devtools
6666
6767 - name : install_github (with tag)
6868 if : github.ref_type == 'tag'
Original file line number Diff line number Diff line change @@ -20,9 +20,14 @@ if test -z "${R_HOME}"; then
2020 as_fn_error $? " Could not determine R_HOME." " $LINENO " 5
2121fi
2222
23- # Static libKriging build (using libK/.ci )
23+ # Static libKriging build (using libK CI scripts )
2424cd src/libK
25- CI=` ls -a | grep travis-ci`
25+ # Find CI scripts directory: 'tools' (new name since libKriging PR#314), or '.travis-ci'/'travis-ci' (legacy)
26+ if [ -d tools/common ]; then
27+ CI=tools
28+ else
29+ CI=` ls -a | grep travis-ci`
30+ fi
2631echo " CI: " $CI
2732
2833{
7378BUILD_TEST=false \
7479MODE=Release \
7580EXTRA_CMAKE_OPTIONS=" ${EXTRA_CMAKE_OPTIONS:- } -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_SHARED_LIBS=${MAKE_SHARED_LIBS} -DSTATIC_LIB=${STATIC_LIB} -DEXTRA_SYSTEM_LIBRARY_PATH=${EXTRA_SYSTEM_LIBRARY_PATH} " \
76- $CI /linux-macos/build.sh # should support '.travis-ci' or 'travis-ci'"
81+ $CI /linux-macos/build.sh
7782
7883# Clean up CMake temp directories immediately after build
7984find /tmp -maxdepth 1 -name " tmp.*" -type d -user $( id -u) -mmin -10 2> /dev/null | while read dir; do
Original file line number Diff line number Diff line change 11# This file records the specific commit SHAs for each submodule
22# It is automatically generated and should be updated when submodules are updated
33# Format: <submodule_path> <commit_sha>
4- src/libK bcbdab25651b7790ce611ef6fa448b28644fc505
4+ src/libK 169337800d6dcbaa64c203186d3bdc34d291bafa
55src/slapack 72a7f3753e02b0471e93296f2b22877c6fee7328
Original file line number Diff line number Diff line change @@ -233,10 +233,12 @@ echo "Renaming hidden files for CRAN compliance..."
233233if [ -d $LIBKRIGING_SRC_PATH /.travis-ci ]; then
234234 echo " → Renaming .travis-ci to travis-ci..."
235235 mv $LIBKRIGING_SRC_PATH /.travis-ci $LIBKRIGING_SRC_PATH /travis-ci
236+ # rename .travis-ci in travis-ci everywhere. Use temp .bak for sed OSX compliance
237+ echo " → Updating .travis-ci references in shell scripts..."
238+ find $LIBKRIGING_SRC_PATH -type f -name * .sh -exec sed -i.bak " s/\.travis-ci/travis-ci/g" {} +
239+ else
240+ echo " ✓ No .travis-ci directory (already renamed to tools/)"
236241fi
237- # rename .travis-ci in travis-ci everywhere. Use temp .bak for sed OSX compliance
238- echo " → Updating .travis-ci references in shell scripts..."
239- find $LIBKRIGING_SRC_PATH -type f -name * .sh -exec sed -i.bak " s/\.travis-ci/travis-ci/g" {} +
240242echo " → Removing git rev-parse dependencies..."
241243# remove usages of 'git rev-parse', which is not a standard requirement fo R
242244GIT_ROOT=$( pwd) ;
You can’t perform that action at this time.
0 commit comments