Releases: ocaml/setup-ocaml
Releases · ocaml/setup-ocaml
v2.0.0-alpha
Added
- Added support for 32 bits compiler variants.
- Added semver-style version matching support.
- Cache opam root (
~/.opamon Unix,D:\.opamon Windows), opam download-cache (~/.opam/download-cacheon Unix,D:\.opam\download-cacheon Windows), and opam local switch (_opam). - If
dune-cacheenabled, install dune, automatically configure the dune cache for the most efficient use in CI (exportsDUNE_CACHE=enabled,DUNE_CACHE_TRANSPORT=direct. TRANSPORT must bedirect, notdaemon, to speed up the opam install process and to support Windows: ocaml/dune#4166, ocaml/dune#4167), and share the dune cache directory for each run. - If
opam-pinis enabled, pin the local packages specified byopam-local-packages. - If
opam-depextis enabled, install the system dependencies specified byopam-local-packagesvia depext - If
opam-disable-sandboxingis enabled, sandboxing is disabled for all platforms except Windows. (Sandboxing is always disabled on the Windows runners due to limitations of opam.) - The profiling functionality allows us to check the duration of each group if debug mode is enabled. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging)
Changed
- The Windows runners install
mingw64-i686-gcc-coreandmingw64-i686-gcc-g++for 32 bit compiler variant support. - Clean the log output by grouping some operations.
- The compiler will be initialised in all platforms with an opam local switch to eliminate differences between platforms and prepare for full dependency caching in the future.
- The macOS and Ubuntu runners install and cache opam from the GitHub release directly without the system package manager.
- The macOS and Ubuntu runners install
darcsandmercurial. - The Windows runners install
mercurial. - Export
OPAMCOLOR=always. - Export
OPAMERRLOGLEN=0. - Export
OPAMPRECISETRACKING=1. - Export
OPAMSOLVERTIMEOUT=500. - Export
OPAMROOT=D:\.opamon the Windows runners. - Export
OPAMVERBOSE=trueif the actions debug mode is enabled. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging) - Export
MSYS=winsymlinks:nativefor@actions/cacheon the Windows runners. - Export
HOME=%USERPROFILE%for opam on the Windows runners.
Removed
- The
ocaml-versioninput has been removed. Use theocaml-compilerinstead. - The simplified version specifying scheme (e.g.
4.12.0) support has been removed.
Fixed
- Use the appropriate file system behavior parameters on the Windows runners. (
R2L:1,R2R:1) - Add
ppa: avsm/muslon 18.04 and older Ubuntu runners. - Pass
--enable-shell-hooktoopam initfixes a bug that must be run via opam exec in subsequent steps. - The Ubuntu runners install
gcc-multilib,g++-multilibforocaml-option-32bit.
v1.1.11
Changed
- Stop setting switch jobs variable on Windows (
OPAMJOBSis sufficient).
v1.1.10
Changed
- Run
brew updatebefore set up to avoid an issue with Bintray transition period.
v1.1.9
Fixed
- Further fix to switch initialisation.
v1.1.8
Changed
- The Windows opam wrapper is fractionally less-archaically named opam.cmd, with no loss in arcaneness.
- Export
CYGWIN_ROOTon the Windows runners, allowing bash to be invoked as%CYGWIN_ROOT%\bin\bash/$env:CYGWIN_ROOT\bin\bash(and similarly for Cygwinsetup-x86_64.exe). - The Windows runner no longer prepends
%CYGWIN_ROOT%\bintoPATH.
Fixed
- Switches in Unix are now properly initialized before running depext.
v1.1.7
Changed
- Ubuntu and macOS runners no longer display "No switch is currently installed." before building the compiler.
- Ubuntu no longer installs the system ocaml packages.
- macOS no longer builds two compilers on every run.
- Upgrade opam to 2.0.8 for Linux VMs.
v1.1.6
Changed
- Windows installs Cygwin to
D:\cygwin, using faster Azure temporary storage.
v1.1.5
Changed
Reduce build time by exporting modified OPAMJOBS environment variable.
v1.1.4
Changed
Windows installs mingw64-x86_64-gcc-g++ so GitHub Action can build libraries that require it.
v1.1.3
Security
- Update the
@actions/corepackage to address CVE-2020-15228.