Skip to content

Commit

Permalink
only run system lib step for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-silverman authored Feb 19, 2025
1 parent 93ff867 commit 7188ba6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/installation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ jobs:
restore-keys: ${{ runner.os }}-R-${{ matrix.r-version }}-

- name: System Libraries
if: runner.os != 'Windows'
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y libfontconfig1-dev libudunits2-dev libcairo2-dev libcurl4-openssl-dev \
libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev \
libjpeg-dev libgdal-dev libgeos-dev libproj-dev
elif [ "${{ matrix.os }}" = "macOS-latest" ]; then
elif [ "${{ matrix.os }}" == "macOS-latest" ]; then
brew install freetype udunits cairo harfbuzz fribidi libpng libtiff jpeg gdal pkg-config
fi
Expand Down

0 comments on commit 7188ba6

Please sign in to comment.