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

Commit

Permalink
Rel 2.1.3 - Enable Github CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Jan 15, 2021
1 parent 20691ec commit f2f8cd2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
pull_request:

env:
JULIA_CMDSTAN_HOME: "/home/worker/cmdstan-2.25.0/"

jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -14,20 +17,37 @@ jobs:
matrix:
version:
- '1'
#- nightly
- nightly
os:
- ubuntu-latest
#- macOS-latest
#- windows-latest
arch:
- x86
#- x86
- x64
exclude:
- os: windows-latest
arch: x86
- os: macOS-latest
arch: x86
steps:
- name: Install extra dependency on main branch
shell: julia --project=. {0}
run: |
println(pwd())
println(ENV["JULIA_CMDSTAN_HOME"])
println(ENV["HOME"])
- run: |
OLDWD=`pwd`
cd ~
pwd
wget https://github.com/stan-dev/cmdstan/releases/download/v2.25.0/cmdstan-2.25.0.tar.gz
tar -xzpf cmdstan-2.25.0.tar.gz
ls -lia .
make -C $JULIA_CMDSTAN_HOME build
cd $OLDWD
env:
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.25.0/"
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
Expand All @@ -45,6 +65,8 @@ jobs:
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
JULIA_CMDSTAN_HOME: "/home/runner/cmdstan-2.25.0/"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
- uses: codecov/codecov-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StanModels"
uuid = "fb740163-aa3c-59c1-9c12-c3f890714cde"
authors = ["Rob J Goedman <[email protected]"]
version = "2.1.2"
version = "2.1.3"

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

0 comments on commit f2f8cd2

Please sign in to comment.