From 95e3bf302b9470388d6f45e56670a51322992571 Mon Sep 17 00:00:00 2001 From: Lukas Schneiderbauer Date: Mon, 20 May 2024 19:42:13 +0200 Subject: [PATCH] windows: try to set correct mingw paths --- .github/workflows/R-CMD-check.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 2e3a814..79f20e9 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,7 +52,10 @@ jobs: - name: Install fftw3 on Windows if: runner.os == 'Windows' - run: pacman -Syu mingw-w64-x86_64-fftw mingw-w64-x86_64-openmp --noconfirm + run: | + pacman -Syu mingw-w64-x86_64-fftw mingw-w64-x86_64-openmp --noconfirm + export CPPFLAGS="-I/mingw64/lib ${CPPFLAGS}" + export LDFLAGS="-L/mingw64/bin $LDFLAGS" - uses: r-lib/actions/setup-r-dependencies@v2 with: