Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Commit f2f8cd2

Browse files
committed
Rel 2.1.3 - Enable Github CI testing
1 parent 20691ec commit f2f8cd2

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

.github/workflows/CI.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
pull_request:
88

9+
env:
10+
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.25.0/"
11+
912
jobs:
1013
test:
1114
runs-on: ${{ matrix.os }}
@@ -14,20 +17,37 @@ jobs:
1417
matrix:
1518
version:
1619
- '1'
17-
#- nightly
20+
- nightly
1821
os:
1922
- ubuntu-latest
2023
#- macOS-latest
2124
#- windows-latest
2225
arch:
23-
- x86
26+
#- x86
2427
- x64
2528
exclude:
2629
- os: windows-latest
2730
arch: x86
2831
- os: macOS-latest
2932
arch: x86
3033
steps:
34+
- name: Install extra dependency on main branch
35+
shell: julia --project=. {0}
36+
run: |
37+
println(pwd())
38+
println(ENV["JULIA_CMDSTAN_HOME"])
39+
println(ENV["HOME"])
40+
- run: |
41+
OLDWD=`pwd`
42+
cd ~
43+
pwd
44+
wget https://github.com/stan-dev/cmdstan/releases/download/v2.25.0/cmdstan-2.25.0.tar.gz
45+
tar -xzpf cmdstan-2.25.0.tar.gz
46+
ls -lia .
47+
make -C $JULIA_CMDSTAN_HOME build
48+
cd $OLDWD
49+
env:
50+
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.25.0/"
3151
- uses: actions/checkout@v2
3252
- uses: julia-actions/setup-julia@v1
3353
with:
@@ -45,6 +65,8 @@ jobs:
4565
${{ runner.os }}-
4666
- uses: julia-actions/julia-buildpkg@latest
4767
- uses: julia-actions/julia-runtest@latest
68+
env:
69+
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.25.0/"
4870
- uses: julia-actions/julia-processcoverage@v1
4971
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
5072
- uses: codecov/codecov-action@v1

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "StanModels"
22
uuid = "fb740163-aa3c-59c1-9c12-c3f890714cde"
33
authors = ["Rob J Goedman <goedman@icloud.com"]
4-
version = "2.1.2"
4+
version = "2.1.3"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

0 commit comments

Comments
 (0)