From 6cc576403b675d60e9b073def9c7b53bc64d57b5 Mon Sep 17 00:00:00 2001 From: Gregory Jefferis Date: Sat, 12 Oct 2024 21:09:40 +0100 Subject: [PATCH] specify C/CXX compiler directly for CMTK --- .github/workflows/R-CMD-check.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index aa6d1535..d5561cd9 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,9 +22,9 @@ jobs: config: - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - - {os: ubuntu-latest, cc: clang, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-latest, cc: clang, r: 'release', codecov: 'true'} - - {os: ubuntu-latest, cc: clang, r: 'oldrel-1'} + - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-latest, r: 'release', codecov: 'true'} + - {os: ubuntu-latest, r: 'oldrel-1'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} @@ -51,7 +51,8 @@ jobs: if: ${{matrix.config.os != 'windows-latest'}} run: sh ./build-cmtk.sh env: - CC: ${{ matrix.config.cc }} + CC: clang + CXX: clang++ MAKEFLAGS: "-j2" - uses: r-lib/actions/check-r-package@v2