From 03a05509b50016deaec82e7a7aa6f2fe83fb6cc7 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Wed, 9 Jun 2021 02:22:53 +0200
Subject: [github-actions] Windows: add matrix to build for x86_64 and i686

---
 .github/workflows/build.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

(limited to '.github/workflows')

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b83f408..cde2dc7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -43,15 +43,23 @@ jobs:
     defaults:
       run:
         shell: msys2 {0}
+    strategy:
+      fail-fast: false
+      matrix:
+        include: [
+          { msystem: MINGW64, arch: x86_64 },
+          { msystem: MINGW32, arch: i686   }
+        ]
     steps:
     - uses: msys2/setup-msys2@v2
       with:
+        msystem: ${{ matrix.msystem }}
         release: false
         update: false
         install: >-
           base-devel
           git
-          mingw-w64-x86_64-gcc
+          mingw-w64-${{ matrix.arch }}-gcc
           make
           libtool
           autoconf
-- 
cgit v1.1-32-gdbae