Skip to content

Commit

Permalink
add autoconf back
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Jul 28, 2020
1 parent 856b80e commit c9bcc46
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$(
Expand Down

0 comments on commit c9bcc46

Please sign in to comment.