Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for CI integration #438

Open
TristanCacqueray opened this issue Jun 21, 2021 · 1 comment
Open

Documentation for CI integration #438

TristanCacqueray opened this issue Jun 21, 2021 · 1 comment
Labels
CI CI integgrations, deployments etc. question Further information is requested

Comments

@TristanCacqueray
Copy link
Contributor

How would you recommend to use stan as a continuous integration test?
Assuming this is correct, could we add such snippets to the README?

      - run: cabal v2-install stan --install-method=copy --overwrite-policy=always
      - run: stan report
      - uses: actions/upload-artifact@v2
        with:
          name: stan-report
          path: ./stan.html
@vrom911 vrom911 added CI CI integgrations, deployments etc. question Further information is requested labels Aug 2, 2021
@chshersh
Copy link
Contributor

chshersh commented Aug 3, 2021

Hi @TristanCacqueray! Using Stan on CI easily would be really nice indeed. We attempted to implement a separate GitHub Action specifically for running Stan so users can run Stan easily on their projects. Still, it turned out that simpler Docker-based actions can't work for Stan.

Your steps look correct to me 👍🏻 It would be nice to download Stan directly from releases instead of building (so it would be faster) though CI cache probably helps with that. I'm not sure how v2-install behaves if you have a freeze file produced earlier on CI and try to build Stan, which can have a different set of dependencies. You probably also don't want to run this for each combination of GHC and OS if you use matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI CI integgrations, deployments etc. question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants