ソースを参照

ci: add Windows to unit test matrix (#14836)

Luke Parker 7 ヶ月 前
親
コミット
0269f39a17
1 ファイル変更、10 行追加、2 行削除
  1. 10 2
      .github/workflows/test.yml

+ 10 - 2
.github/workflows/test.yml

@@ -8,8 +8,16 @@ on:
   workflow_dispatch:
 jobs:
   unit:
-    name: unit (linux)
-    runs-on: blacksmith-4vcpu-ubuntu-2404
+    name: unit (${{ matrix.settings.name }})
+    strategy:
+      fail-fast: false
+      matrix:
+        settings:
+          - name: linux
+            host: blacksmith-4vcpu-ubuntu-2404
+          - name: windows
+            host: blacksmith-4vcpu-windows-2025
+    runs-on: ${{ matrix.settings.host }}
     defaults:
       run:
         shell: bash