Skip to content

Commit 0563925

Browse files
committed
ci(windows): add Cygwin build workflow
1 parent 2651384 commit 0563925

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Windows (Cygwin) build
2+
3+
on:
4+
push:
5+
branches: [ "**" ] # run for any branch; change if you want to limit
6+
pull_request:
7+
workflow_dispatch: # allows manual run from Actions tab
8+
9+
jobs:
10+
build-cygwin:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- name: Normalize line endings
15+
run: git config --global core.autocrlf input
16+
17+
- uses: actions/checkout@v4
18+
19+
- name: Install Cygwin with required packages
20+
uses: cygwin/cygwin-install-action@master
21+
with:
22+
packages: >
23+
autoconf automake libtool make gcc-core pkg-config autoconf-archive
24+
libglib2.0-devel libcurl-devel libsqlite3-devel libreadline-devel
25+
libncursesw-devel libstrophe-devel libssl-devel libexpat-devel
26+
27+
- name: Build (autoreconf, configure, make)
28+
shell: C:\cygwin\bin\bash.exe --login -o igncr {0}
29+
run: |
30+
set -euxo pipefail
31+
autoreconf -fi
32+
./configure
33+
make -j

0 commit comments

Comments
 (0)