From d96fe18e131b083ec8b6754b256ad5f9ae61881d Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Fri, 6 Oct 2023 12:04:53 +0200 Subject: [PATCH] Switch to toolchain libs for UCRT --- .github/workflows/R-CMD-check.yaml | 7 ++----- src/Makevars.ucrt | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index ee65ccb..16ef516 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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'} @@ -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 diff --git a/src/Makevars.ucrt b/src/Makevars.ucrt index 1a2e101..d2d83f9 100644 --- a/src/Makevars.ucrt +++ b/src/Makevars.ucrt @@ -1,2 +1 @@ -CRT=-ucrt -include Makevars.win +LIBS= -lpng -lz