Skip to content

Commit 7731794

Browse files
CI: increase lowest tested Dart [2.17.6] and Flutter SDK [3.0.5] (#25)
1 parent 6aab777 commit 7731794

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/dart.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
- macos-11
4545
- ubuntu-22.04
4646
sdk:
47+
# Always include lowest supported version (see sdk key in objectbox and generator
48+
# pubspec.yaml, but may be higher due to dependencies).
4749
- 2.18.5
4850
- 2.17.6
49-
- 2.16.2
50-
- 2.14.0 # currently the lowest fully supported version (i.e. generator + lib)
5151
runs-on: ${{ matrix.os }}
5252
steps:
5353
- uses: dart-lang/setup-dart@v1
@@ -93,14 +93,12 @@ jobs:
9393
os:
9494
- macos-11
9595
- ubuntu-22.04
96+
- windows-2022 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
9697
flutter-version:
98+
# Always include lowest supported version (based on lowest tested Dart SDK, see lib tests
99+
# above): https://docs.flutter.dev/development/tools/sdk/releases lists included Dart SDK.
97100
- 3.3.9
98-
- 2.5.0 # currently the lowest fully supported version (i.e. generator + lib)
99-
include:
100-
- flutter-version: 3.3.9 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
101-
os: windows-2022
102-
- flutter-version: 2.5.0 # Flutter 2.8.1 and older need Visual Studio 2019 to build desktop.
103-
os: windows-2019
101+
- 3.0.5
104102
runs-on: ${{ matrix.os }}
105103
steps:
106104
- uses: actions/checkout@v3

.gitlab-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ test-lib:linux:x64:
6565
needs: ["test-generator:linux:x64"] # Wait for generator test
6666
parallel:
6767
matrix:
68-
# Note: use specific tags as docker images may not always be pulled due to "if-not-present" pull policy.
69-
# Thus, do not use tags like latest/beta, but check https://hub.docker.com/_/dart?tab=tags for latest.
70-
# Always include lowest supported version (see sdk key in objectbox and generator pubspec.yaml).
71-
- DART_VERSION: [ '2.14', '2.16.2', '2.17.6', '2.18.5' ]
68+
# Note: use specific versions instead of latest/beta tags as Docker images may not always be
69+
# pulled due to "if-not-present" pull policy. Check https://hub.docker.com/_/dart?tab=tags.
70+
# Always include lowest supported version (see sdk key in objectbox and generator
71+
# pubspec.yaml, but may be higher due to dependencies).
72+
- DART_VERSION: [ '2.17.6', '2.18.5' ]

0 commit comments

Comments
 (0)