Skip to content

Commit

Permalink
installing jags
Browse files Browse the repository at this point in the history
  • Loading branch information
j-i-l committed Jul 8, 2024
1 parent b7d21c5 commit 50e19ba
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/onlabel_Windows_checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Workflow is triggered on label and check installation on various operating systems
# This action is adapted from https://github.com/t4d-gmbh/stubbed_versioning
name: On Label Windows checks
name: On Label Windows Checks

on:
pull_request:
Expand All @@ -11,6 +11,10 @@ env:
LABEL_SUCCESS: 'windows::passed'
LABEL_FAILURE: 'windows::failed'
BUILD_LOC: "./build"
JAGS_MAJORV: '4'
JAGS_VERSION: '4.3.0'
JAGS_URL: "https://sourceforge.net/projects/mcmc-jags/files/JAGS/"
https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Windows/JAGS-4.3.0.exe/download

permissions:
packages: read
Expand All @@ -31,17 +35,23 @@ jobs:
matrix:
config:
- {r: 'release',}
- {r: '4.1',}
- {r: 'devel', http-user-agent: 'release'}
- {r: 'oldrel-1',}
- {r: 'oldrel-2',}
- {r: 'oldrel-3',}
# - {r: '4.1',}
# - {r: 'devel', http-user-agent: 'release'}
# - {r: 'oldrel-1',}
# - {r: 'oldrel-2',}
# - {r: 'oldrel-3',}

steps:

- name: Install GSL binaries with cygwin
uses: cygwin/cygwin-install-action@master

- name: Install JAGS
run: |
Import-Module bitstransfer
start-bitstransfer -source ${{ env.JAGS_URL}/${{ JAGS_MAJORV }}.x/Windows/"JAGS-${{ env.JAGS_VERSION }}.exe/download C:\JAGS-${{ env.JAGS_VERSION}}.exe
& "C:\JAGS-${{ env.JAGS_VERSION}}.exe"
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2
Expand All @@ -66,7 +76,8 @@ jobs:
upload-snapshots: false
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

report_OS_checks:
report_windows_checks:
if: ${{ (success() || failure()) }}
needs:
- R-CMD-check
runs-on: ubuntu-latest
Expand Down

0 comments on commit 50e19ba

Please sign in to comment.