Skip to content

Commit

Permalink
CI: Add runner for 32-bit (MINGW32) (#492)
Browse files Browse the repository at this point in the history
32-bit and 64-bit Windows systems are different to 32-bit and 64-bit
Linux systems, e.g., when it comes to the data model.
Add a runner to the CI that builds for Windows 32-bit for coverage.

Signed-off-by: Markus Mützel <markus.muetzel@gmx.de>
  • Loading branch information
mmuetzel authored May 21, 2024
1 parent e4cc92a commit cac4dbb
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/windows-latest-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,29 @@ jobs:
# Use MSYS2 as default shell
shell: msys2 {0}

strategy:
matrix:
msystem: [MINGW64, MINGW32]
include:
- msystem: MINGW64
target-prefix: mingw-w64-x86_64
- msystem: MINGW32
target-prefix: mingw-w64-i686

steps:
- uses: actions/checkout@v3

- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
msystem: ${{ matrix.msystem }}
update: true
release: false
install: >-
base-devel
mingw-w64-x86_64-cmake
mingw-w64-x86_64-cc
mingw-w64-x86_64-openblas
mingw-w64-x86_64-suitesparse
${{ matrix.target-prefix }}-cmake
${{ matrix.target-prefix }}-cc
${{ matrix.target-prefix }}-openblas
${{ matrix.target-prefix }}-suitesparse
- name: Configure CMake
# Configure CMake in a 'build' subdirectory
Expand All @@ -50,7 +59,7 @@ jobs:
-DENABLE_KLU=ON
- name: Build
# Build your program
# Build program
run: cmake --build ${GITHUB_WORKSPACE}/build

- name: Test
Expand Down

0 comments on commit cac4dbb

Please sign in to comment.