From 1488bcb68282a2bf7a27e9b7333d6a232758cf73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 27 Nov 2024 08:44:30 +0000 Subject: [PATCH] ci: Import from actions-sync, check carefully --- .github/workflows/build-and-check.yml | 50 --------------------------- .github/workflows/install/action.yml | 2 +- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 .github/workflows/build-and-check.yml diff --git a/.github/workflows/build-and-check.yml b/.github/workflows/build-and-check.yml deleted file mode 100644 index 1fad42455e..0000000000 --- a/.github/workflows/build-and-check.yml +++ /dev/null @@ -1,50 +0,0 @@ -# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. -# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions -on: - push: - branches: - - main - - fix/* - pull_request: - branches: - - main - - fix/* - schedule: - - cron: '0 2 * * *' - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.sha }}-${{ github.base_ref || '' }} - cancel-in-progress: true - -name: R-CMD-check-extra - -jobs: - sanitizer: - runs-on: ubuntu-22.04 - - name: Sanitizer - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - name: apt update - run: | - sudo apt-get update - sudo apt-get install -y libarpack2-dev - shell: bash - - - name: run sanitizer - uses: addnab/docker-run-action@v3 - with: - image: ghcr.io/krlmlr/rigraph-san:main - options: --rm --platform linux/amd64 -v ${{ github.workspace }}:/rigraph - run: | - set -e - printenv - # Memory leaks with rgl 1.3.12, https://github.com/dmurdoch/rgl/issues/439 - RDcsan -e 'pak::pak("dmurdoch/rgl")' - cd rigraph - RDcsan CMD INSTALL . --no-byte-compile - TESTTHAT_PARALLEL=false CI=true RDcsan -q -e 'testthat::test_local(reporter = c("location", "summary"), load_package = "installed")' diff --git a/.github/workflows/install/action.yml b/.github/workflows/install/action.yml index 59673d9cac..03bcb1eb89 100644 --- a/.github/workflows/install/action.yml +++ b/.github/workflows/install/action.yml @@ -78,7 +78,7 @@ runs: - name: Remove pkg-config@0.29.2 if: runner.os == 'macOS' run: | - brew uninstall pkg-config@0.29.2 + brew uninstall pkg-config@0.29.2 || true shell: bash - uses: r-lib/actions/setup-pandoc@v2