diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 76717e3c1b0..0517efb862b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -935,29 +935,23 @@ jobs: - name: Setup Dependencies Windows uses: msys2/setup-msys2@v2 with: + msystem: ucrt64 update: true install: >- - base-devel - diffutils doxygen git - make - mingw-w64-x86_64-binutils - mingw-w64-x86_64-boost - mingw-w64-x86_64-cmake - mingw-w64-x86_64-curl - mingw-w64-x86_64-graphviz - mingw-w64-x86_64-miniupnpc - mingw-w64-x86_64-nlohmann-json - mingw-w64-x86_64-nodejs - mingw-w64-x86_64-nsis - mingw-w64-x86_64-onevpl - mingw-w64-x86_64-openssl - mingw-w64-x86_64-opus - mingw-w64-x86_64-toolchain - nasm - wget - yasm + mingw-w64-ucrt-x86_64-boost + mingw-w64-ucrt-x86_64-cmake + mingw-w64-ucrt-x86_64-curl + mingw-w64-ucrt-x86_64-graphviz + mingw-w64-ucrt-x86_64-miniupnpc + mingw-w64-ucrt-x86_64-nlohmann-json + mingw-w64-ucrt-x86_64-nodejs + mingw-w64-ucrt-x86_64-nsis + mingw-w64-ucrt-x86_64-onevpl + mingw-w64-ucrt-x86_64-openssl + mingw-w64-ucrt-x86_64-opus + mingw-w64-ucrt-x86_64-toolchain - name: Setup python # use this instead of msys2 python due to known issues using wheels, https://www.msys2.org/docs/python/ diff --git a/docs/source/building/windows.rst b/docs/source/building/windows.rst index 90b3d9e3c33..eb5444f468b 100644 --- a/docs/source/building/windows.rst +++ b/docs/source/building/windows.rst @@ -3,7 +3,7 @@ Windows Requirements ------------ -First you need to install `MSYS2 `__, then startup "MSYS2 MinGW 64-bit" and execute the following +First you need to install `MSYS2 `__, then startup "MSYS2 UCRT64" and execute the following codes. Update all packages: @@ -15,26 +15,21 @@ Install dependencies: .. code-block:: bash pacman -S \ - base-devel \ - cmake \ - diffutils \ doxygen \ - gcc \ git \ - make \ - mingw-w64-x86_64-binutils \ - mingw-w64-x86_64-boost \ - mingw-w64-x86_64-cmake \ - mingw-w64-x86_64-curl \ - mingw-w64-x86_64-graphviz \ - mingw-w64-x86_64-miniupnpc \ - mingw-w64-x86_64-nlohmann-json \ - mingw-w64-x86_64-nodejs \ - mingw-w64-x86_64-onevpl \ - mingw-w64-x86_64-openssl \ - mingw-w64-x86_64-opus \ - mingw-w64-x86_64-rust \ - mingw-w64-x86_64-toolchain \ + mingw-w64-ucrt-x86_64-boost \ + mingw-w64-ucrt-x86_64-cmake \ + mingw-w64-ucrt-x86_64-curl \ + mingw-w64-ucrt-x86_64-graphviz \ + mingw-w64-ucrt-x86_64-miniupnpc \ + mingw-w64-ucrt-x86_64-nlohmann-json \ + mingw-w64-ucrt-x86_64-nodejs \ + mingw-w64-ucrt-x86_64-nsis \ + mingw-w64-ucrt-x86_64-onevpl \ + mingw-w64-ucrt-x86_64-openssl \ + mingw-w64-ucrt-x86_64-opus \ + mingw-w64-ucrt-x86_64-rust \ + mingw-w64-ucrt-x86_64-toolchain \ python \ python-pip