From c9bcc4628eb767167e331be58b08d51cd71c3dbe Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 28 Jul 2020 12:02:06 -0500 Subject: [PATCH] add autoconf back --- .ci/test_r_package.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.ci/test_r_package.sh b/.ci/test_r_package.sh index 50cff0988735..2d37781f44e0 100755 --- a/.ci/test_r_package.sh +++ b/.ci/test_r_package.sh @@ -130,6 +130,15 @@ LOG_FILE_NAME="lightgbm.Rcheck/00check.log" if [[ $R_BUILD_TYPE == "cmake" ]]; then Rscript build_r.R --skip-install || exit -1 elif [[ $R_BUILD_TYPE == "cran" ]]; then + + # on Linux, we recreate configure in CI to test if + # a change in a PR has changed configure.ac + if [[ $OS_NAME == "linux" ]]; then + autoconf \ + --output R-package/configure \ + R-package/configure.ac \ + || exit -1 + fi ./build-cran-package.sh || exit -1 num_files_changed=$(