Skip to content

Commit

Permalink
Use a broader build matrix for Windows' CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Aug 21, 2024
1 parent c6cdf09 commit 983e3e4
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/windows-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@ jobs:
matrix:
os:
- windows-latest

runs-on: ${{ matrix.os }}
sys:
- mingw64
- mingw32
- ucrt64
runs-on: ${{matrix.os}}

steps:
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
pacboy: openssl:p
install: autoconf automake libtool make mingw-w64-x86_64-ncurses mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cjson mingw-w64-x86_64-db mingw-w64-x86_64-gmp libdb-devel mingw-w64-x86_64-gcc flex bison gmp-devel help2man texinfo gettext-devel

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4

- name: Install packages
uses: msys2/setup-msys2@v2
with:
update: true
install: autoconf automake libtool make mingw-w64-x86_64-ncurses mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cjson mingw-w64-x86_64-db mingw-w64-x86_64-gmp libdb-devel mingw-w64-x86_64-gcc flex bison gmp-devel help2man texinfo gettext-devel

- name: Set git user
run: |
git config --global user.name github-actions
Expand Down Expand Up @@ -68,7 +71,7 @@ jobs:
uses: actions/upload-artifact@v4
if: failure()
with:
name: config-${{ matrix.os }}.log
name: config-${{matrix.sys}}.log
path: _build/config.log

- name: make
Expand All @@ -89,7 +92,7 @@ jobs:
- name: Upload testsuite.log
uses: actions/upload-artifact@v4
with:
name: testsuite-${{ matrix.os }}.log
name: testsuite-${{matrix.sys}}.log
path: _build/tests/testsuite.log

- name: install
Expand All @@ -101,5 +104,5 @@ jobs:
- name: Upload install.log
uses: actions/upload-artifact@v4
with:
name: install-${{ matrix.os }}.log
name: install-${{matrix.sys}}.log
path: _build/install.log

0 comments on commit 983e3e4

Please sign in to comment.