Skip to content

Commit 8d55598

Browse files
CI: increase lowest tested Dart [2.17.6] and Flutter SDK [3.0.5] (#25)
1 parent b79aeb2 commit 8d55598

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

.github/workflows/dart.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ 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.17.6
48-
- 2.16.2
49-
- 2.15.1
50-
- 2.14.0 # currently the lowest fully supported version (i.e. generator + lib)
5150
runs-on: ${{ matrix.os }}
5251
steps:
5352
- uses: dart-lang/setup-dart@v1
@@ -92,14 +91,11 @@ jobs:
9291
os:
9392
- macos-11
9493
- ubuntu-22.04
94+
- windows-2022 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
9595
flutter-version:
96+
# Always include lowest supported version (based on lowest tested Dart SDK, see lib tests
97+
# above): https://docs.flutter.dev/development/tools/sdk/releases lists included Dart SDK.
9698
- 3.0.5
97-
- 2.5.0 # currently the lowest fully supported version (i.e. generator + lib)
98-
include:
99-
- flutter-version: 3.0.5 # Flutter 2.9 and newer need Visual Studio 2022 to build desktop.
100-
os: windows-2022
101-
- flutter-version: 2.5.0 # Flutter 2.8.1 and older need Visual Studio 2019 to build desktop.
102-
os: windows-2019
10399
runs-on: ${{ matrix.os }}
104100
steps:
105101
- 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.15.1', '2.16.1', '2.16.2', '2.17.6' ]
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' ]

0 commit comments

Comments
 (0)