瀏覽代碼

Merge pull request #1252 from Ishanned/windows-platform

feat: support windows platform in ci.yaml
Lucas.Xu 2 年之前
父節點
當前提交
123e6968af
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      .github/workflows/ci.yaml

+ 5 - 1
.github/workflows/ci.yaml

@@ -13,12 +13,14 @@ jobs:
   build:
     strategy:
       matrix:
-        os: [ubuntu-latest, macos-latest]
+        os: [ubuntu-latest, macos-latest, windows-latest]
         include:
           - os: ubuntu-latest
             flutter_profile: development-linux-x86_64
           - os: macos-latest
             flutter_profile: development-mac-x86_64
+          - os: windows-latest
+            flutter_profile: development-windows-x86
     runs-on: ${{ matrix.os }}
 
     steps:
@@ -83,6 +85,8 @@ jobs:
             flutter config --enable-linux-desktop
           elif [ "$RUNNER_OS" == "macOS" ]; then
             flutter config --enable-macos-desktop
+          elif [ "$RUNNER_OS" == "windows" ]; then
+            flutter config --enable-windows-desktop
           fi
         shell: bash