stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140 stars 44 forks source link

Rewrite "Build Binaries" github action #1196

Closed WardBrian closed 2 years ago

WardBrian commented 2 years ago

Closes #1160

This uses https://github.com/ocaml/setup-ocaml to simplify the github action script. This handles opam setup and caching.

See sample run here

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

WardBrian commented 2 years ago

Ah, I meant for it to be on the other so that the cache of the cross compilation is separate from the normal ubuntu build. Will fix