Apache DataFusion SQL Query Engine
ARROW-3759: [R][CI] Build and test (no libarrow) on Windows in Appveyor
Neal Richardsonca7377be5a3d
diff --git a/appveyor.yml b/appveyor.ymlindex cefa28ec42..a4995a89e6 100644--- a/appveyor.yml+++ b/appveyor.yml@@ -19,7 +19,7 @@os: Visual Studio 2015only_commits:- # Skip commits not related to Python, C++, C#, Go, Ruby or Rust+ # Skip commits not related to Python, C++, C#, Go, R, Ruby, or Rustfiles:- appveyor.yml- c_glib/@@ -29,6 +29,7 @@ only_commits:- format/- go/- python/+ - r/- ruby/- rust/@@ -102,6 +103,8 @@ environment:GO111MODULE: onGOTOOLDIR: '%GOROOT%\pkg\tool\windows_amd64'PATH: '%GOPATH%\bin;%GOROOT%\bin;%PATH%'+ - JOB: "R without libarrow"+ USE_CLCACHE: falseMSVC_DEFAULT_OPTIONS: ONAPPVEYOR_SAVE_CACHE_ON_ERROR: true@@ -119,6 +122,57 @@ before_build:build_script:- call ci\appveyor-build.bat+for:+-+ matrix:+ only:+ - JOB: "R without libarrow"+ init:+ ps: |+ $ErrorActionPreference = "Stop"+ Invoke-WebRequest http://raw.githubusercontent.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"+ Import-Module '..\appveyor-tool.ps1'++ before_build:+ - cd r+ - ps: Bootstrap+ - cd %APPVEYOR_BUILD_FOLDER%++ build_script:+ # TODO: for the version of the R tests that builds, probably can't use this+ # ci script because we need to build with the Rtools toolchain+ # - call ci\appveyor-build.bat+ - pushd r+ - travis-tool.sh install_deps++ test_script:+ - travis-tool.sh run_tests++ on_failure:+ - travis-tool.sh dump_logs++ environment:+ NOT_CRAN: true++ artifacts:+ - path: 'r\*.Rcheck\**\*.log'+ name: Logs++ - path: 'r\*.Rcheck\**\*.out'+ name: Logs++ - path: 'r\*.Rcheck\**\*.fail'+ name: Logs++ - path: 'r\*.Rcheck\**\*.Rout'+ name: Logs++ - path: 'r\*_*.tar.gz'+ name: Bits++ - path: 'r\*_*.zip'+ name: Bits+# Disable test discoverytest: offdiff --git a/ci/appveyor-filter-changes.bat b/ci/appveyor-filter-changes.batindex 04da517224..bac8f4ca49 100644--- a/ci/appveyor-filter-changes.bat+++ b/ci/appveyor-filter-changes.bat@@ -43,6 +43,13 @@ if "%JOB%" == "Rust" (echo ===appveyor exit)+) else if "%JOB:~,2%" == "R " (+ if "%ARROW_CI_R_AFFECTED%" == "0" (+ echo ===+ echo === No C++ or R changes, exiting job+ echo ===+ appveyor exit+ )) else (if "%ARROW_CI_PYTHON_AFFECTED%" == "0" (echo ===diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rbindex 8a1936d773..8ce8ca1bfc 100644--- a/dev/release/00-prepare-test.rb+++ b/dev/release/00-prepare-test.rb@@ -130,13 +130,6 @@ class PrepareTest < Test::Unit::TestCase"+Version: #{@release_version}"],],},- {- path: "r/src/Makevars.win",- hunks: [- ["-VERSION = #{@previous_version}.9000",- "+VERSION = #{@release_version}"],- ],- },{path: "ruby/red-arrow-cuda/lib/arrow-cuda/version.rb",hunks: [@@ -279,13 +272,6 @@ class PrepareTest < Test::Unit::TestCase"+Version: #{@release_version}.9000"],],},- {- path: "r/src/Makevars.win",- hunks: [- ["-VERSION = #{@release_version}",- "+VERSION = #{@release_version}.9000"],- ],- },{path: "ruby/red-arrow-cuda/lib/arrow-cuda/version.rb",hunks: [diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.shindex 724df83ecd..f9b891fe99 100755--- a/dev/release/00-prepare.sh+++ b/dev/release/00-prepare.sh@@ -101,14 +101,6 @@ update_versions() {git add DESCRIPTIONcd -- cd "${SOURCE_DIR}/../../r/src"- sed -i.bak -E -e \- "s/^VERSION = .+/VERSION = ${r_version}/" \- Makevars.win- rm -f Makevars.win.bak- git add Makevars.win- cd --cd "${SOURCE_DIR}/../../ruby"sed -i.bak -E -e \"s/^ VERSION = \".+\"/ VERSION = \"${version}\"/g" \