Просмотр исходного кода

[ci] install freetype on macos for {sysfonts}

tags/v0.3.0
Garrick Aden-Buie 6 лет назад
Родитель
Сommit
73e34c4bfc
1 измененных файлов: 7 добавлений и 1 удалений
  1. +7
    -1
      .github/workflows/main.yml

+ 7
- 1
.github/workflows/main.yml Просмотреть файл

RGL_USE_NULL: true RGL_USE_NULL: true
# if you use bookdown or blogdown, replace "PKGDOWN" by the respective # if you use bookdown or blogdown, replace "PKGDOWN" by the respective
# capitalized term. This also might need to be done in tic.R # capitalized term. This also might need to be done in tic.R
BUILD_PKGDOWN: ${{ matrix.config.pkgdown }}
BUILD_PKGDOWN: ${{ matrix.config.pkgdown }}
# macOS >= 10.15.4 linking # macOS >= 10.15.4 linking
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk


# set compiler flags # set compiler flags
mkdir -p ~/.R && echo -e 'CC=ccache clang\nCPP=ccache clang\nCXX=ccache clang++\nCXX11=ccache clang++\nCXX14=ccache clang++\nCXX17=ccache clang++\nCFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCCFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCXXFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCPPFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nF77=ccache /usr/local/gfortran/bin/gfortran\nFC=ccache /usr/local/gfortran/bin/gfortran' > $HOME/.R/Makevars mkdir -p ~/.R && echo -e 'CC=ccache clang\nCPP=ccache clang\nCXX=ccache clang++\nCXX11=ccache clang++\nCXX14=ccache clang++\nCXX17=ccache clang++\nCFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCCFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCXXFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nCPPFLAGS=-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk\nF77=ccache /usr/local/gfortran/bin/gfortran\nFC=ccache /usr/local/gfortran/bin/gfortran' > $HOME/.R/Makevars


# install freetype for {sysfonts}
- name: "[macOS] libfreetype"
if: runner.os == 'macOS'
run: |
brew install freetype

# for some strange Windows reason this step and the next one need to be decoupled # for some strange Windows reason this step and the next one need to be decoupled
- name: "[Stage] Prepare" - name: "[Stage] Prepare"
run: | run: |

Загрузка…
Отмена
Сохранить