2023-01-23 15:28:06 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install ninja-build mingw-w64 nsis
|
2023-01-25 18:44:57 +02:00
|
|
|
sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
2023-01-23 15:28:06 +02:00
|
|
|
|
|
|
|
# Workaround for getting new MinGW headers on Ubuntu 22.04.
|
|
|
|
# Remove it once MinGW headers version in repository will be 10.0 at least
|
2023-09-13 16:08:21 +02:00
|
|
|
curl -O -L http://mirrors.kernel.org/ubuntu/pool/universe/m/mingw-w64/mingw-w64-common_10.0.0-3_all.deb \
|
|
|
|
&& sudo dpkg -i mingw-w64-common_10.0.0-3_all.deb;
|
|
|
|
curl -O -L http://mirrors.kernel.org/ubuntu/pool/universe/m/mingw-w64/mingw-w64-x86-64-dev_10.0.0-3_all.deb \
|
|
|
|
&& sudo dpkg -i mingw-w64-x86-64-dev_10.0.0-3_all.deb;
|
2023-01-23 15:28:06 +02:00
|
|
|
|
2024-08-20 20:34:52 +02:00
|
|
|
. CI/install_conan_dependencies.sh "dependencies-mingw"
|