File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1717 - windows-latest
1818 windows_env :
1919 - cygwin
20- - msys2
2120 runs-on : ${{ matrix.os }}
2221 steps :
2322 - run : git config --global core.autocrlf false
4039 D:\opamroot
4140 key : ${{ runner.os }}-${{ matrix.windows_env }}-opam-${{ hashFiles('install.ps1') }}
4241
43- - name : Add MSys2 to PATH and install prerequisites
44- if : matrix.windows_env == 'msys2'
45- run : |
46- "C:\msys64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
47- C:\msys64\usr\bin\pacman.exe --noconfirm -Syuu # Core update (in case any core packages are outdated)
48- C:\msys64\usr\bin\pacman.exe --noconfirm -Syuu m4 make mingw-w64-i686-gcc mingw-w64-x86_64-gcc rsync unzip
49-
5042 - name : Install opam
5143 if : steps.cache-opam.outputs.cache-hit != 'true'
5244 run : |
5951
6052 - name : Init opam
6153 if : steps.cache-opam.outputs.cache-hit != 'true'
62- run : opam init --yes --no-setup ${{ matrix.windows_env == 'msys2' && '--cygwin-local-install' || '' }}
54+ run : opam init --yes --no-setup
6355
6456 - name : Restrict testing to available compilers
6557 if : steps.cache-opam.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments