-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.13 KB
/
CI.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
name: Run tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version: ['1', 'nightly']
arch: [x64]
os: [ubuntu-latest, windows-latest, macOS-latest]
R: ['release']
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: ${{ matrix.R }}
- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'
- name: Install fftw
run: sudo apt-get install -y fftw3-dev
if: matrix.os == 'ubuntu-latest'
- name: install-mcmcse
run: Rscript -e "install.packages('mcmcse', repos='https://cloud.r-project.org')"
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1