]> granicus.if.org Git - graphviz/commitdiff
add ci/cygwin-build.sh script
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 1 Sep 2021 18:01:09 +0000 (20:01 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 8 Sep 2021 16:40:59 +0000 (18:40 +0200)
ci/cygwin-build.sh [new file with mode: 0644]

diff --git a/ci/cygwin-build.sh b/ci/cygwin-build.sh
new file mode 100644 (file)
index 0000000..94b7350
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+set -eux
+
+/cygwinsetup.exe --quiet-mode --wait --packages bison
+/cygwinsetup.exe --quiet-mode --wait --packages cmake
+/cygwinsetup.exe --quiet-mode --wait --packages flex
+/cygwinsetup.exe --quiet-mode --wait --packages gcc-core
+/cygwinsetup.exe --quiet-mode --wait --packages gcc-g++
+/cygwinsetup.exe --quiet-mode --wait --packages libcairo-devel
+/cygwinsetup.exe --quiet-mode --wait --packages libexpat-devel
+/cygwinsetup.exe --quiet-mode --wait --packages libpango1.0-devel
+/cygwinsetup.exe --quiet-mode --wait --packages libgd-devel
+/cygwinsetup.exe --quiet-mode --wait --packages libtool
+/cygwinsetup.exe --quiet-mode --wait --packages make
+/cygwinsetup.exe --quiet-mode --wait --packages python3
+/cygwinsetup.exe --quiet-mode --wait --packages zlib-devel
+
+# use the libs installed with cygwinsetup instead of those in
+# https://gitlab.com/graphviz/graphviz-windows-dependencies
+export CMAKE_OPTIONS=-Duse_win_pre_inst_libs=OFF
+
+ci/build.sh