Skip to content

Commit

Permalink
Rel 2.2.1 - 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 d586404 commit 285caee
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 = "StanDiagnose"
uuid = "fb13fc95-9a72-5e81-90ef-432a29d7f4c2"
authors = ["Rob J Goedman <[email protected]>"]
version = "2.2.0"
version = "2.2.1"

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

0 comments on commit 285caee

Please sign in to comment.