Debian Codegraph @

ci/test-msys2.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -e
4
5 if [[ "$MSYSTEM" == "MINGW32" ]]; then
6 export MSYS2_ARCH="i686"
7 else
8 export MSYS2_ARCH="x86_64"
9 fi
10
11 pacman --noconfirm -Suy
12
13 pacman --noconfirm -S --needed \
14 base-devel \
15 pactoys
16
17 pacboy --noconfirm -S --needed \
18 meson:p \
19 cargo-c:p \
20 gi-docgen:p \
21 gobject-introspection:p \
22 gdk-pixbuf2:p \
23 harfbuzz:p \
24 fontconfig:p \
25 fribidi:p \
26 libthai:p \
27 cairo:p \
28 pango:p \
29 python-docutils:p \
30 libxml2:p \
31 toolchain:p \
32 rust:p \
33 cantarell-fonts:p
34
35 # https://github.com/rust-lang/cargo/issues/10885
36 CARGO=$(where cargo)
37 export CARGO
38
39 RUSTC=$(where rustc)
40 export RUSTC
41
42 meson setup _build -Dauto_features=disabled -Dpixbuf{,-loader}=enabled
43 meson compile -C _build
44
45 export RUST_BACKTRACE=1
46 TESTS_OUTPUT_DIR=$(pwd)/tests/output
47 export TESTS_OUTPUT_DIR
48 # meson test -C _build --print-errorlogs