From 4c32cb298ee4edfa65238c3a64e9329b0e64ceaa Mon Sep 17 00:00:00 2001 From: ritesh006 Date: Sat, 13 Sep 2025 10:05:04 +0530 Subject: [PATCH] ci(windows): add Cygwin build workflow --- .github/workflows/windows-cygwin.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/windows-cygwin.yml diff --git a/.github/workflows/windows-cygwin.yml b/.github/workflows/windows-cygwin.yml new file mode 100644 index 000000000..20f5d8c9f --- /dev/null +++ b/.github/workflows/windows-cygwin.yml @@ -0,0 +1,33 @@ +name: Windows (Cygwin) build + +on: + push: + branches: [ "**" ] # run for any branch; change if you want to limit + pull_request: + workflow_dispatch: # allows manual run from Actions tab + +jobs: + build-cygwin: + runs-on: windows-latest + + steps: + - name: Normalize line endings + run: git config --global core.autocrlf input + + - uses: actions/checkout@v4 + + - name: Install Cygwin with required packages + uses: cygwin/cygwin-install-action@master + with: + packages: > + autoconf automake libtool make gcc-core pkg-config autoconf-archive + libglib2.0-devel libcurl-devel libsqlite3-devel libreadline-devel + libncursesw-devel libstrophe-devel libssl-devel libexpat-devel + + - name: Build (autoreconf, configure, make) + shell: C:\cygwin\bin\bash.exe --login -o igncr {0} + run: | + set -euxo pipefail + autoreconf -fi + ./configure + make -j