2024-04-16 21:41:56 +00:00
|
|
|
# install dependencies for C++ analysis
|
2024-04-17 03:00:10 +00:00
|
|
|
set -e
|
2024-04-16 21:41:56 +00:00
|
|
|
|
|
|
|
# update pacman
|
|
|
|
pacman --noconfirm -Suy
|
|
|
|
|
2024-05-31 22:37:05 +00:00
|
|
|
# install wget
|
2024-04-16 21:41:56 +00:00
|
|
|
pacman --noconfirm -S \
|
2024-05-31 22:37:05 +00:00
|
|
|
wget
|
|
|
|
|
|
|
|
# download working curl
|
|
|
|
wget https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-curl-8.8.0-1-any.pkg.tar.zst
|
|
|
|
|
|
|
|
# install dependencies
|
|
|
|
pacman -U --noconfirm mingw-w64-ucrt-x86_64-curl-8.8.0-1-any.pkg.tar.zst
|
|
|
|
pacman -Syu --noconfirm --ignore=mingw-w64-ucrt-x86_64-curl \
|
2024-04-16 21:41:56 +00:00
|
|
|
base-devel \
|
|
|
|
diffutils \
|
|
|
|
gcc \
|
|
|
|
git \
|
|
|
|
make \
|
2024-06-24 22:14:27 +00:00
|
|
|
mingw-w64-ucrt-x86_64-boost \
|
2024-05-26 23:09:22 +00:00
|
|
|
mingw-w64-ucrt-x86_64-cmake \
|
2024-05-27 18:16:14 +00:00
|
|
|
mingw-w64-ucrt-x86_64-cppwinrt \
|
2024-05-26 23:09:22 +00:00
|
|
|
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
|
2024-04-16 21:41:56 +00:00
|
|
|
|
|
|
|
# build
|
|
|
|
mkdir -p build
|
|
|
|
cd build || exit 1
|
2024-06-24 16:12:31 +00:00
|
|
|
cmake \
|
|
|
|
-DBUILD_DOCS=OFF \
|
|
|
|
-G "MinGW Makefiles" ..
|
2024-04-16 21:41:56 +00:00
|
|
|
mingw32-make -j"$(nproc)"
|
|
|
|
|
|
|
|
# skip autobuild
|
|
|
|
echo "skip_autobuild=true" >> "$GITHUB_OUTPUT"
|