Skip to content

Commit c65a910

Browse files
committed
minor cleanup
1 parent 6b4a1f1 commit c65a910

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.appveyor.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ branches:
1313

1414
environment:
1515
matrix:
16-
- TASK: r-package
17-
R_VERSION: 4.0
18-
COMPILER: MINGW
19-
TOOLCHAIN: MSYS
20-
- TASK: r-package
16+
- COMPILER: MINGW
17+
TASK: r-package
18+
R_VERSION: 3.6
19+
TOOLCHAIN: MINGW
20+
- COMPILER: MSVC
21+
TASK: r-package
2122
R_VERSION: 4.0
22-
COMPILER: MSVC
23+
TOOLCHAIN: MSVC
2324
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2425
- COMPILER: MSVC
2526
TASK: python

.ci/test_r_package_windows.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if ($env:R_MAJOR_VERSION -eq "3") {
5151
$env:RTOOLS_EXE_FILE = "rtools40-x86_64.exe"
5252
$env:R_WINDOWS_VERSION = "4.0.0"
5353
} else {
54-
Write-Output "Unrecognized R version: $env:R_VERSION"
54+
Write-Output "[ERROR] Unrecognized R version: $env:R_VERSION"
5555
Check-Output $false
5656
}
5757

@@ -72,6 +72,10 @@ if ($env:TOOLCHAIN -eq "MINGW") {
7272
Write-Output "Telling R to use MSYS"
7373
$install_libs = "$env:BUILD_SOURCESDIRECTORY/R-package/src/install.libs.R"
7474
((Get-Content -Path $install_libs -Raw) -Replace 'use_msys2 <- FALSE','use_msys2 <- TRUE') | Set-Content -Path $install_libs
75+
} elseif ($env:TOOLCHAIN -eq "MSVC") {
76+
# no customization for MSVC
77+
} else {
78+
Write-Output "[ERROR] Unrecognized coompiler: $env:TOOLCHAIN"
7579
}
7680

7781
# download R and RTools

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
name: ${{ matrix.task }} (${{ matrix.os }}, ${{ matrix.compiler }})
13+
name: ${{ matrix.task }} (${{ matrix.os }}, ${{ matrix.compiler }}, R ${{ matrix.r_version }})
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false

.vsts-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ jobs:
115115
TASK: r-package
116116
COMPILER: MSVC
117117
R_VERSION: 3.6
118+
TOOLCHAIN: MSVC
118119
r_package_mingw:
119120
TASK: r-package
120121
COMPILER: MINGW
121-
TOOLCHAIN: MINGW
122-
R_VERSION: 3.6
122+
R_VERSION: 4.0
123+
TOOLCHAIN: MSYS
123124
regular:
124125
TASK: regular
125126
PYTHON_VERSION: 3.6

0 commit comments

Comments
 (0)