Skip to content

Commit

Permalink
[ci] test against R 4.2 for macOS and Linux CI jobs (#5484)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 15, 2022
1 parent 6d4d1ab commit dc4794b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ if [[ "${R_MAJOR_VERSION}" == "3" ]]; then
export R_LINUX_VERSION="3.6.3-1bionic"
export R_APT_REPO="bionic-cran35/"
elif [[ "${R_MAJOR_VERSION}" == "4" ]]; then
export R_MAC_VERSION=4.1.3
export R_MAC_VERSION=4.2.1
export R_MAC_PKG_URL=${CRAN_MIRROR}/bin/macosx/base/R-${R_MAC_VERSION}.pkg
export R_LINUX_VERSION="4.1.3-1.2004.0"
export R_LINUX_VERSION="4.2.1-1.2004.0"
export R_APT_REPO="focal-cran40/"
else
echo "Unrecognized R version: ${R_VERSION}"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/r_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: gcc
r_version: 4.1
r_version: 4.2
build_type: cmake
- os: ubuntu-latest
task: r-package
Expand All @@ -50,7 +50,7 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: clang
r_version: 4.1
r_version: 4.2
build_type: cmake
- os: macOS-latest
task: r-package
Expand All @@ -60,7 +60,7 @@ jobs:
- os: macOS-latest
task: r-package
compiler: gcc
r_version: 4.1
r_version: 4.2
build_type: cmake
- os: macOS-latest
task: r-package
Expand All @@ -70,7 +70,7 @@ jobs:
- os: macOS-latest
task: r-package
compiler: clang
r_version: 4.1
r_version: 4.2
build_type: cmake
- os: windows-latest
task: r-package
Expand Down Expand Up @@ -116,20 +116,20 @@ jobs:
- os: ubuntu-latest
task: r-package
compiler: gcc
r_version: 4.1
r_version: 4.2
build_type: cran
- os: macOS-latest
task: r-package
compiler: clang
r_version: 4.1
r_version: 4.2
build_type: cran
################
# Other checks #
################
- os: ubuntu-latest
task: r-rchk
compiler: gcc
r_version: 4.1
r_version: 4.2
build_type: cran
steps:
- name: Prevent conversion of line endings on Windows
Expand Down

0 comments on commit dc4794b

Please sign in to comment.