From 45e20053156988c5983d6011dce16b922c8170f0 Mon Sep 17 00:00:00 2001 From: Jannik Orzek <45204741+jhorzek@users.noreply.github.com> Date: Thu, 11 Jan 2024 11:16:28 +0100 Subject: [PATCH] image is debian --- .github/workflows/tst_ubuntu_san.yml | 64 +++++++++++----------------- 1 file changed, 25 insertions(+), 39 deletions(-) diff --git a/.github/workflows/tst_ubuntu_san.yml b/.github/workflows/tst_ubuntu_san.yml index 43a8aa1..3dbe03a 100644 --- a/.github/workflows/tst_ubuntu_san.yml +++ b/.github/workflows/tst_ubuntu_san.yml @@ -23,46 +23,32 @@ jobs: with: submodules: 'true' - uses: r-lib/actions/setup-pandoc@v1 - - name: Add R packages binary location + - name: install dependencies run: | - # copied from https://cran.r-project.org/bin/linux/ubuntu/#get-5000-cran-packages - # update indices - sudo apt update -qq - # install two helper packages we need - sudo apt install -y --no-install-recommends software-properties-common dirmngr - # add the signing key (by Michael Rutter) for these repos - # To verify key, run gpg --show-keys /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc - # Fingerprint: E298A3A825C0D65DFD57CBB651716619E084DAB9 - wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc - # add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed - sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" - - name: install compiled packages - run: | - sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+ - sudo apt install -y --no-install-recommends r-cran-rcpp - sudo apt install -y --no-install-recommends r-cran-rcpparmadillo - sudo apt install -y --no-install-recommends r-cran-rcppparallel - sudo apt install -y --no-install-recommends r-cran-ggplot2 - sudo apt install -y --no-install-recommends r-cran-tidyr - sudo apt install -y --no-install-recommends r-cran-stringr - sudo apt install -y --no-install-recommends r-cran-numderiv - sudo apt install -y --no-install-recommends r-cran-rlang - sudo apt install -y --no-install-recommends r-cran-mvtnorm - sudo apt install -y --no-install-recommends r-cran-knitr - sudo apt install -y --no-install-recommends r-cran-plotly - sudo apt install -y --no-install-recommends r-cran-rmarkdown - sudo apt install -y --no-install-recommends r-cran-rsolnp - sudo apt install -y --no-install-recommends r-cran-lavaan - sudo apt install -y --no-install-recommends r-cran-devtools - sudo apt install -y --no-install-recommends r-cran-testthat - sudo apt install -y --no-install-recommends r-cran-rcmdcheck - sudo apt install -y --no-install-recommends r-cran-glmnet - sudo apt install -y --no-install-recommends r-cran-ncvreg - sudo apt install -y --no-install-recommends r-cran-regsem - sudo apt install -y --no-install-recommends r-cran-lslx - sudo apt install -y --no-install-recommends r-cran-matrix - sudo apt install -y --no-install-recommends r-cran-openmx - sudo apt install -y --no-install-recommends r-cran-rstan + sudo apt install -y r-cran-rcpp + sudo apt install -y r-cran-rcpparmadillo + sudo apt install -y r-cran-rcppparallel + sudo apt install -y r-cran-ggplot2 + sudo apt install -y r-cran-tidyr + sudo apt install -y r-cran-stringr + sudo apt install -y r-cran-numderiv + sudo apt install -y r-cran-rlang + sudo apt install -y r-cran-mvtnorm + sudo apt install -y r-cran-knitr + sudo apt install -y r-cran-plotly + sudo apt install -y r-cran-rmarkdown + sudo apt install -y r-cran-rsolnp + sudo apt install -y r-cran-lavaan + sudo apt install -y r-cran-devtools + sudo apt install -y r-cran-testthat + sudo apt install -y r-cran-rcmdcheck + sudo apt install -y r-cran-glmnet + sudo apt install -y r-cran-ncvreg + sudo apt install -y r-cran-regsem + sudo apt install -y r-cran-lslx + sudo apt install -y r-cran-matrix + sudo apt install -y r-cran-openmx + sudo apt install -y r-cran-rstan - name: Run checks with extend compiler flags run: | withr::with_makevars(