-
-
Notifications
You must be signed in to change notification settings - Fork 205
48 lines (41 loc) · 1.28 KB
/
build-and-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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
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")'