Merge pull request #1252 from Ishanned/windows-platform

feat: support windows platform in ci.yaml
This commit is contained in:
Lucas.Xu 2022-10-09 16:10:23 +08:00 committed by GitHub
commit 123e6968af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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