File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed
Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Cygwin build
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [ master ]
7+
8+ jobs :
9+ cygwin-build :
10+ runs-on : windows-latest
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Mark repo as safe for git
17+ shell : bash
18+ run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
19+
20+ - name : Set up Cygwin with build deps
21+ uses : egor-tensin/setup-cygwin@v4
22+ with :
23+ packages : >-
24+ autoconf
25+ automake
26+ libtool
27+ make
28+ pkg-config
29+ autoconf-archive
30+ gcc-core
31+ gettext-devel
32+ libstrophe-devel
33+ libncursesw-devel
34+ libglib2.0-devel
35+ libcurl-devel
36+ libreadline-devel
37+ libsqlite3-devel
38+
39+ - name : Show versions
40+ shell : bash
41+ run : |
42+ uname -a
43+ bash --version
44+ gcc --version
45+ pkg-config --version
46+
47+ - name : Autotools bootstrap
48+ shell : bash
49+ run : |
50+ if [ -x ./bootstrap.sh ]; then
51+ ./bootstrap.sh
52+ else
53+ autoreconf -fi
54+ fi
55+
56+ - name : Configure
57+ shell : bash
58+ env :
59+ CYGWIN : winsymlinks:nativestrict
60+ run : ./configure
61+
62+ - name : Build
63+ shell : bash
64+ run : make -j2
65+
66+ - name : Run basic target checks
67+ shell : bash
68+ run : make -n install
You can’t perform that action at this time.
0 commit comments