install-ocaml-libs-windows.yml 535 B

12345678910111213141516
  1. - name: Install OCaml libraries
  2. uses: nick-fields/retry@v3
  3. with:
  4. timeout_minutes: 10
  5. max_attempts: 10
  6. retry_on: timeout
  7. shell: pwsh
  8. command: |
  9. Set-PSDebug -Trace 1
  10. # stop after any command returns an error
  11. $PSNativeCommandUseErrorActionPreference = $true
  12. $ErrorActionPreference = 'Stop'
  13. # see: https://github.com/aantron/luv/issues/162
  14. $env:PATH="${env:CYG_ROOT}\bin;${env:CYG_ROOT}\usr\x86_64-w64-mingw32\bin;${env:PATH}"
  15. opam install haxe --deps-only
  16. opam list