diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index bb0fb2efd8631b4af85a7fc3d01b9d6588d85f99..b58d42696667227e1bde53454bdf5632d7c81683 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -10,7 +10,7 @@ jobs:
   build:
     strategy:
       matrix:
-        os: [windows-2019, macos-11]
+        os: [windows-2022, macos-11]
         configuration: [RelWithDebInfoOS]
         addrsize: [64]
         include:
@@ -46,5 +46,5 @@ jobs:
 
       - name: Build
         run: |
-          autobuild configure
+          autobuild configure -c ${{ matrix.configuration }}
           autobuild build --no-configure