Skip to content

Commit

Permalink
Windows: use libpng included with Rtools on R 4.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 6, 2023
1 parent 6489bd6 commit 45bc98a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Expand Up @@ -23,13 +23,9 @@ jobs:
matrix:
config:
- {os: macos-latest, r: 'release'}

- {os: windows-latest, r: 'release'}
# Use 3.6 to trigger usage of RTools35
- {os: windows-latest, r: '3.6'}
# use 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: '4.2', rtools: '42'}
- {os: windows-latest, r: '4.1'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
Expand All @@ -49,6 +45,7 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
rtools-version: ${{ matrix.config.rtools }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

Expand Down
5 changes: 1 addition & 4 deletions src/Makevars.ucrt
@@ -1,4 +1 @@
CXX_STD = CXX11

CRT = -ucrt
include Makevars.win
PKG_LIBS = -lpng -lz

0 comments on commit 45bc98a

Please sign in to comment.