Skip to content

Commit

Permalink
install rgl deps on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
markheckmann committed Dec 29, 2023
1 parent 7f01e9a commit 14e1ae2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
# - {os: macos-latest, r: 'release'}
# - {os: windows-latest, r: 'release'}
# - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
# - {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,6 +44,10 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Install libcurl on Linux
if: runner.os == 'Linux'
run: sudo apt-get update -y && sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev

# # extra lines to use null device in rgl when
# - name: Configure RGL for headless testing
# run: |
Expand All @@ -53,4 +57,4 @@ jobs:
with:
upload-snapshots: true
args: 'c("--no-manual", "--as-cran")'
error-on: '"error"'
error-on: '"warning"'

0 comments on commit 14e1ae2

Please sign in to comment.