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 182918d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/windows-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ jobs:
matrix:
os:
- windows-latest

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

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

- name: Install packages
- name: System setup
uses: msys2/setup-msys2@v2
with:
update: true
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
update: true

- name: Set git user
run: |
Expand Down Expand Up @@ -68,7 +73,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 +94,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 +106,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 182918d

Please sign in to comment.