diff --git a/.github/workflows/check-bioc.yml b/.github/workflows/check-bioc.yml index 0cb6b0b..614a20c 100644 --- a/.github/workflows/check-bioc.yml +++ b/.github/workflows/check-bioc.yml @@ -144,8 +144,6 @@ jobs: ## Required to install magick as noted at ## https://github.com/r-lib/usethis/commit/f1f1e0d10c1ebc75fd4c18fa7e2de4551fd9978f#diff-9bfee71065492f63457918efcd912cf2 brew install imagemagick@6 - echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> /Users/runner/.bash_profile - export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig:$PKG_CONFIG_PATH" ## For textshaping, required by ragg, and required by pkgdown brew install harfbuzz fribidi @@ -154,9 +152,15 @@ jobs: brew install libgit2 brew update + brew update npm brew upgrade imagemagick brew upgrade imagemagick@6 + echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> /Users/runner/.bash_profile + export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib" + export CPPFLAGS="-I/usr/local/opt/imagemagick@6/include" + export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig" + - name: Install Windows system dependencies if: runner.os == 'Windows' run: |