Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update R-CMD-check.yaml #357

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-20.04, r: 'release'}
- {os: ubuntu-20.04, r: 'release', custom: 'no-cpp11test'}
- {os: ubuntu-20.04, r: 'release', custom: 'gcc 4.8'}
- {os: ubuntu-20.04, r: 'oldrel-1'}
- {os: ubuntu-20.04, r: 'oldrel-2'}
- {os: ubuntu-20.04, r: 'oldrel-3'}
Expand All @@ -52,25 +51,7 @@ jobs:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name : Install compiler version
# We check on this old compiler specifically to support CentOS 7,
# which uses this gcc version. RStudio products support CentOS 7 through
# June 2024.
# https://github.com/r-lib/cpp11/pull/78
# https://www.rstudio.com/about/platform-support/
# Ubuntu 20.04 technically dropped support for gcc 4.8, so we have to
# add old archives back in manually to install it
# https://github.com/r-lib/cpp11/pull/279
if: matrix.config.custom == 'gcc 4.8'
run: |
echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" | sudo tee -a /etc/apt/sources.list
echo "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt-get install -y g++-4.8
mkdir ~/.R/
echo $'CXX1X=g++-4.8\nCXX11=g++-4.8\nCC=gcc-4.8 -std=c99\nCXX=g++-4.8 -std=gnu++11' >> ~/.R/Makevars


- name: Install macOS system dependencies
if: runner.os == 'macOS'
run: brew install --cask xquartz
Expand Down
Loading