Browse Source

sourcehut build test

master
boB Rudis 5 years ago
parent
commit
3b8cb8b51f
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 3
      .Rbuildignore
  2. 78
      .build.yml
  3. 6
      README.Rmd

3
.Rbuildignore

@ -12,4 +12,5 @@
^\.vscode$
^CRAN-RELEASE$
^appveyor\.yml$
^tools$
^tools$
^\.build\.yml$

78
.build.yml

@ -0,0 +1,78 @@
image: debian/buster
packages:
- bash-completion
- bison
- debhelper
- default-jdk
- g++
- gcc
- gdb
- gfortran
- groff-base
- libblas-dev
- libbz2-dev
- libcairo2-dev
- libcurl4-openssl-dev
- libjpeg-dev
- liblapack-dev
- liblzma-dev
- libncurses5-dev
- libpango1.0-dev
- libpcre3-dev
- libpng-dev
- libreadline-dev
- libtiff5-dev
- libx11-dev
- libxt-dev
- mpack
- subversion
- tcl8.6-dev
- texinfo
- texlive-base
- texlive-extra-utils
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-generic-recommended
- texlive-latex-base
- texlive-latex-extra
- texlive-latex-recommended
- tk8.6-dev
- x11proto-core-dev
- xauth
- xdg-utils
- xfonts-base
- xvfb
- zlib1g-dev
- ed
- less
- locales
- vim-tiny
- wget
- ca-certificates
- fonts-texgyre
- libssl-dev
- libcurl4-openssl-dev
- r-base
- r-base-dev
- r-recommended
sources:
- https://git.sr.ht/~hrbrmstr/wand
triggers:
- action: email
condition: always
to: bob@rud.is
tasks:
- setup: |
sudo update-locale "LANG=en_US.UTF-8"
sudo locale-gen --purge "en_US.UTF-8"
sudo dpkg-reconfigure --frontend noninteractive locales
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
echo 'options(repos = c(CRAN = "https://cloud.r-project.org"))' > ~/.Rprofile
echo 'R_LIBS_USER=/home/build/packages' > ~/.Renviron
mkdir /home/build/packages
Rscript -e 'install.packages(c("covr", "tinytest"))'
- build: |
R CMD build wand
R CMD check wand_*gz

6
README.Rmd

@ -21,12 +21,12 @@ The header checking is minimal (i.e. nowhere near as comprehensive as `libmagic`
## What's Inside The Tin
The following functions are implemented:
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::describe_ingredients()
```
The following functions are implemented:
## Installation
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
@ -54,7 +54,7 @@ list.files(system.file("extdat", package="wand"), full.names=TRUE) %>%
unnest()
```
## cloc Metrics
## wand Metrics
```{r cloc, echo=FALSE}
cloc::cloc_pkg_md()

Loading…
Cancel
Save