master
sh 54 lines 1.45 KB
Raw
1 #!/bin/bash
2 #
3 # Install the dependencies we need to build Netdata on MSYS2
4
5 . /etc/profile
6
7 set -euo pipefail
8
9 ${GITHUB_ACTIONS+echo "::group::Updating MSYS2"}
10 pacman -Syuu --noconfirm
11 ${GITHUB_ACTIONS+echo "::endgroup::"}
12
13 ${GITHUB_ACTIONS+echo "::group::Installing dependencies"}
14 pacman -S --noconfirm --needed \
15 base-devel \
16 cmake \
17 git \
18 ninja \
19 python \
20 liblz4-devel \
21 libutil-linux \
22 libutil-linux-devel \
23 libyaml-devel \
24 libzstd-devel \
25 msys2-devel \
26 msys/brotli-devel \
27 msys/libuv-devel \
28 msys/pcre2-devel \
29 msys/zlib-devel \
30 msys/libcurl-devel \
31 openssl-devel \
32 protobuf-devel \
33 mingw-w64-x86_64-rust \
34 mingw-w64-x86_64-toolchain \
35 mingw-w64-ucrt-x86_64-rust \
36 mingw-w64-ucrt-x86_64-toolchain \
37 mingw64/mingw-w64-x86_64-brotli \
38 mingw64/mingw-w64-x86_64-go \
39 mingw64/mingw-w64-x86_64-libuv \
40 mingw64/mingw-w64-x86_64-lz4 \
41 mingw64/mingw-w64-x86_64-nsis \
42 mingw64/mingw-w64-x86_64-openssl \
43 mingw64/mingw-w64-x86_64-pcre2 \
44 mingw64/mingw-w64-x86_64-protobuf \
45 mingw64/mingw-w64-x86_64-zlib \
46 ucrt64/mingw-w64-ucrt-x86_64-brotli \
47 ucrt64/mingw-w64-ucrt-x86_64-go \
48 ucrt64/mingw-w64-ucrt-x86_64-libuv \
49 ucrt64/mingw-w64-ucrt-x86_64-lz4 \
50 ucrt64/mingw-w64-ucrt-x86_64-openssl \
51 ucrt64/mingw-w64-ucrt-x86_64-pcre2 \
52 ucrt64/mingw-w64-ucrt-x86_64-protobuf \
53 ucrt64/mingw-w64-ucrt-x86_64-zlib
54 ${GITHUB_ACTIONS+echo "::endgroup::"}