Skip to content

Commit

Permalink
Add workflow to build Windows version and test cases on MSYS2 with co…
Browse files Browse the repository at this point in the history
…nfigure
  • Loading branch information
backwardsEric authored and NickMcConnell committed Apr 7, 2024
1 parent c0b6246 commit 654ac8f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/msys2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,33 @@ jobs:
run: |
cd src
make -f Makefile.win MINGW=yes
configure-win:
runs-on: windows-latest
defaults:
# Reduce verbosity and always run with msys2 as the default shell.
# See https://github.com/marketplace/actions/setup-msys2 .
run:
shell: msys2 {0}
steps:
- name: Set up prerequisites
uses: msys2/setup-msys2@v2
with:
update: true
# The libraries in src/win/lib and src/win/dll are 32-bit.
msystem: mingw32
install: >-
autoconf-wrapper
automake-wrapper
make
mingw-w64-i686-gcc
- name: Clone Project
uses: actions/checkout@v4

- name: Build
run: |
./autogen.sh
./configure --enable-win
make install
make tests

0 comments on commit 654ac8f

Please sign in to comment.