| 1 |
|
| 2 |
name: msys2autotool |
| 3 |
|
| 4 |
on: |
| 5 |
workflow_dispatch: |
| 6 |
|
| 7 |
permissions: read-all |
| 8 |
|
| 9 |
jobs: |
| 10 |
msys2_autotools: |
| 11 |
runs-on: windows-latest |
| 12 |
defaults: |
| 13 |
run: |
| 14 |
shell: msys2 {0} |
| 15 |
env: |
| 16 |
PYTHONIOENCODING: "utf-8" |
| 17 |
steps: |
| 18 |
- uses: actions/checkout@v4 |
| 19 |
- uses: msys2/setup-msys2@v2 |
| 20 |
with: |
| 21 |
msystem: MINGW64 |
| 22 |
update: true |
| 23 |
install: base-devel git autoconf automake libtool mingw-w64-x86_64-toolchain mingw-w64-x86_64-zlib |
| 24 |
- name: Configure |
| 25 |
run: autoreconf -vif && ./configure --disable-static --enable-shared |
| 26 |
- name: Build |
| 27 |
run: make |
| 28 |
- name: Check |
| 29 |
run: make check |
| 30 |
- name: Distcheck |
| 31 |
run: make distcheck DISTCHECK_CONFIGURE_FLAGS="--disable-static --enable-shared" |