Skip to content

Commit

Permalink
Don't rely on CYGWIN_ROOT in windows config (For #1939)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Sep 19, 2024
1 parent 7f0f40a commit 1bca15a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/ci/describe-system-config-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Print-Group -name "wmic cpu list /format:list" -command { wmic cpu list /format:

# Running git configuration commands via bash
$CYGWIN_ROOT = $env:CYGWIN_ROOT
Print-Group -name "git config -l" -command { & "$CYGWIN_ROOT\bin\bash.exe" -l -c 'git config -l' }
Print-Group -name "git config --global -l" -command { & "$CYGWIN_ROOT\bin\bash.exe" -l -c 'git config --global -l' }
Print-Group -name "git config -l" -command { opam exec -- git config -l }
Print-Group -name "git config --global -l" -command { opam exec -- git config --global -l }

# Using opam and OCaml tools
Print-Group -name "opam list" -command { opam list }
Expand All @@ -32,6 +32,6 @@ Print-Group -name "ldd --version" -command { opam exec -- ldd --version }

# Using make with environmental variables
Print-Group -name "make printenv" -command { opam exec -- make printenv }
Print-Group -name "PATH=$PATH" -command { & "$CYGWIN_ROOT\bin\bash.exe" -l -c 'echo "${PATH}"' }
Print-Group -name "PATH=$PATH" -command { opam exec -- bash -l -c 'echo "${PATH}"' }

Print-Group -name "Writing info to '$env:GITHUB_STEP_SUMMARY'" -command { & PowerShell.exe -ExecutionPolicy Bypass -File "$SCRIPT_DIR\github-actions-record-coq-info.ps1" }

0 comments on commit 1bca15a

Please sign in to comment.