From 52b34fd1f491bcd6f0d472e54f0bccc03df60d58 Mon Sep 17 00:00:00 2001 From: "Lea@Mac" Date: Fri, 28 Jun 2024 10:41:39 +0200 Subject: [PATCH] add system wide dependencies --- .github/workflows/start_check.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/start_check.yaml b/.github/workflows/start_check.yaml index 817e0220..36494529 100644 --- a/.github/workflows/start_check.yaml +++ b/.github/workflows/start_check.yaml @@ -12,14 +12,18 @@ jobs: - uses: actions/checkout@v3 - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-renv@v2 + + - name: Install system dependencies + run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev - name: Cache packages - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ env.RENV_PATHS_ROOT }} key: ${{ runner.os }}-renv-${{ hashFiles('**/renv.lock') }} restore-keys: | - ${{ runner.os }}-renv- + sudo apt-get update + sudo apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev libsqlite3-dev libglu1-mesa-dev default-jdk libmagick++-dev - name: Restore packages shell: Rscript {0}