Skip to content

Commit e157d1f

Browse files
committed
GHA: Show Cygwin version info after loading it from the cache
This is useful in case of a known Cygwin bug so we know if we need to clear the cache or not
1 parent 4aa865a commit e157d1f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/ci.ml

+1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ let cygwin_job ~analyse_job ~oc ~workflow f =
287287
++ cache ~check_only:true Cygwin
288288
++ checkout ~cond:(Predicate(true, CacheMiss cygwin64.id)) ()
289289
++ build_cache Cygwin
290+
++ run ~shell:"cmd" "Cygwin info" [{|%CYGWIN_ROOT%\bin\uname -a|}]
290291
++ end_job f
291292

292293
let main_build_job ~analyse_job ~cygwin_job ?section runner start_version ~oc ~workflow f =

.github/workflows/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ jobs:
9797
if: steps.cygwin64.outputs.cache-hit != 'true'
9898
shell: cmd
9999
run: .github\scripts\cygwin.cmd x86_64-pc-cygwin D:\Cache\cygwin create
100+
- name: Cygwin info
101+
shell: cmd
102+
run: %CYGWIN_ROOT%\bin\uname -a
100103

101104
####
102105
# Build

master_changes.md

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ users)
188188
* Add OCaml 5.3 to the build matrix [#6192 @kit-ty-kate]
189189
* Add OCaml 5.3/MSVC to the build matrix [#6192 @kit-ty-kate]
190190
* Add a test making sure `opam init` works in the absence of `OPAMROOT` [#5663 @kit-ty-kate]
191+
* Show Cygwin version info after loading it from the cache [#6383 @kit-ty-kate]
191192

192193
## Doc
193194
* Update the command to install opam to point to the new simplified url on opam.ocaml.org [#6226 @kit-ty-kate]

0 commit comments

Comments
 (0)