File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -91,27 +91,33 @@ jobs:
9191 fail-fast : false
9292 matrix :
9393 os :
94- - windows-2022
9594 - macos-11
9695 - ubuntu-20.04
9796 flutter-version :
9897 - 3.0.0
9998 - 2.2.0
10099 # 2.0.0 technically lowest supported, but need 2.2.0 to correctly resolve null safety dependencies.
101100 # https://github.com/flutter/flutter/issues/77282
101+ include :
102+ - flutter-version : 3.0.0 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
103+ os : windows-2022
104+ - flutter-version : 2.2.0 # Flutter 2.8.1 and older need Visual Studio 2019 to build desktop.
105+ os : windows-2019
102106 runs-on : ${{ matrix.os }}
103107 steps :
104108 - uses : actions/checkout@v2
105109 - uses : subosito/flutter-action@v2
106110 with :
107111 flutter-version : ${{ matrix.flutter-version }}
108112 cache : true
109- - uses : actions/setup-java@v2 # macos-10.15 and windows-2019 default to Java 8, but Android Plugin requires 11
113+ # macos-11 and windows-2019/2022 default to Java 8, but Android Plugin requires 11.
114+ - uses : actions/setup-java@v2
110115 with :
111116 distribution : ' temurin'
112117 java-version : ' 11'
113118 - run : echo $PATH
114119 - run : flutter --version
120+ # https://docs.flutter.dev/desktop#additional-linux-requirements
115121 - if : ${{ startsWith(matrix.os, 'ubuntu') }}
116122 run : ./tool/apt-install.sh ninja-build pkg-config libgtk-3-dev
117123 - run : make integration-test
You can’t perform that action at this time.
0 commit comments