Skip to content

Commit

Permalink
updated github action
Browse files Browse the repository at this point in the history
  • Loading branch information
monopteryx committed Aug 17, 2024
1 parent 6b88188 commit c3f40dd
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,29 @@ jobs:

- name: "[Stage] [Linux] Install curl and libgit2"
if: runner.os == 'Linux'
run: sudo apt install libcurl4-openssl-dev libgit2-dev
run: sudo apt install libcurl4-openssl-dev libgit2-dev libsodium-dev libharfbuzz-dev libfribidi-dev

# for some strange Windows reason this step and the next one need to be decoupled
- name: "[Stage] Prepare"
run: |
Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'source')"
Rscript -e "if (getRversion() < '3.2' && !requireNamespace('curl')) install.packages('curl', type = 'source')"
- name: "[Stage] [macOS] Install libgit2"
if: runner.os == 'macOS'
run: brew install libgit2

- name: "[Stage] [macOS] Install system libs for pkgdown"
if: runner.os == 'macOS' && matrix.config.pkgdown != ''
run: brew install harfbuzz fribidi

- name: "[Stage] [Linux] Install system libs for pkgdown"
if: runner.os == 'Linux' && matrix.config.pkgdown != ''
run: sudo apt install libharfbuzz-dev libfribidi-dev

- name: "[Custom block] [Linux] Install spatial libraries"
if: runner.os == 'Linux'
run: sudo apt-get install libgdal-dev libproj-dev libgeos-dev libudunits2-dev
run: sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev libgeos-dev libudunits2-dev

- name: "[Stage] Install pak"
run: Rscript -e "install.packages('pak', repos = 'https://r-lib.github.io/p/pak/stable')"
Expand Down

0 comments on commit c3f40dd

Please sign in to comment.