Skip to content

Commit

Permalink
Update Flutter SDK to v3.19.6
Browse files Browse the repository at this point in the history
  • Loading branch information
anhappdev committed May 18, 2024
1 parent cf22bd1 commit 5838692
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.7.6'
flutter-version: '3.19.6'
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/environment-setup/env-setup-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Flutter requires native libs so you must complete [Setting up Bazel on Ubuntu](#
* Install Flutter:

```bash
mkdir -p ~/tools && cd ~/tools && curl https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.6-stable.tar.xz | tar Jxf -
mkdir -p ~/tools && cd ~/tools && curl https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.19.6-stable.tar.xz | tar Jxf -
```

* Add flutter binary folders to path: `export PATH=$PATH:~/tools/flutter/bin:~/.pub-cache/bin`
Expand Down
20 changes: 10 additions & 10 deletions docs/environment-setup/env-setup-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Otherwise, you can get errors about missing pods
* Download flutter repo:

```bash
mkdir -p ~/tools && git clone --branch 3.7.6 --depth 1 https://github.com/flutter/flutter.git ~/tools/flutter
mkdir -p ~/tools && git clone --branch 3.19.6 --depth 1 https://github.com/flutter/flutter.git ~/tools/flutter
```

* Add flutter binary folders to path: `export PATH="$PATH:$HOME/tools/flutter/bin:$HOME/.pub-cache/bin"`
Expand All @@ -38,23 +38,23 @@ Otherwise, you can get errors about missing pods
The app was built and tested successfully in this environment:

```shell
macOS 13.2.1
Xcode 14.2
macOS 14.4.1
Xcode 15.4
$ flutter --version
Flutter 3.7.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 12cb4eb7a0 (11 days ago) • 2023-03-01 10:29:26 -0800
Engine • revision ada363ee93
Tools • Dart 2.19.3 • DevTools 2.20.1
Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 54e66469a9 (4 weeks ago) • 2024-04-17 13:08:03 -0700
Engine • revision c4cd48e186
Tools • Dart 3.3.4 • DevTools 2.31.1
$ bazel --version
bazel 5.3.2
bazel 6.3.2
$ protoc --version
libprotoc 3.21.9
libprotoc 23.2
$ pod --version
1.11.3
1.15.2
$ python3 --version
Python 3.9.16
Expand Down
2 changes: 1 addition & 1 deletion flutter/android/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ WORKDIR $HOME

ENV PUB_CACHE=$HOME/.cache/.pub-cache
ENV PATH=$PATH:$HOME/flutter/bin:$HOME/flutter/bin/cache/dart-sdk/bin:$PUB_CACHE/bin
RUN git clone --branch "3.7.6" --single-branch --depth 1 https://github.com/flutter/flutter.git $HOME/flutter
RUN git clone --branch "3.19.6" --single-branch --depth 1 https://github.com/flutter/flutter.git $HOME/flutter
RUN git config --global --add safe.directory $HOME/flutter
RUN flutter config --no-analytics && dart --disable-analytics
RUN flutter doctor -v
Expand Down
2 changes: 1 addition & 1 deletion flutter/ios/ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export MC_FLUTTER_HOME=$MC_BUILD_HOME/flutter
export PUB_CACHE=$MC_BUILD_HOME/.pub-cache

mkdir -p "$MC_BUILD_HOME"
test ! -d "$MC_FLUTTER_HOME" && git clone --branch 3.7.6 --depth 1 https://github.com/flutter/flutter.git "$MC_FLUTTER_HOME"
test ! -d "$MC_FLUTTER_HOME" && git clone --branch 3.19.6 --depth 1 https://github.com/flutter/flutter.git "$MC_FLUTTER_HOME"
export PATH="$PATH:$MC_FLUTTER_HOME/bin:$PUB_CACHE/bin"
if [ $runner = $GITHUB_ACTIONS ]; then
# make Flutter available in the subsequent GitHub Actions steps
Expand Down
2 changes: 1 addition & 1 deletion flutter/windows/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN curl -fSLo vs_BuildTools.exe https://aka.ms/vs/16/release/vs_buildtools.exe
RUN choco install -y --no-progress msys2 --version 20220319.0.0 --params "/NoUpdate"
RUN setx path "%path%;C:/tools/msys64/usr/bin"

RUN choco install -y --no-progress flutter --version 3.7.6
RUN choco install -y --no-progress flutter --version 3.19.6
RUN choco install -y --no-progress git --version 2.33.0.2
RUN choco install -y --no-progress make --version 4.3
RUN choco install -y --no-progress bazelisk --version 1.16.0
Expand Down
2 changes: 1 addition & 1 deletion tools/formatter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN pip install yamllint==1.26.3

# Add Flutter SDK
ENV UNAME=mlperf
RUN git clone --branch "3.7.6" --single-branch --depth 1 \
RUN git clone --branch "3.19.6" --single-branch --depth 1 \
https://github.com/flutter/flutter.git /home/$UNAME/flutter
RUN git config --global --add safe.directory /home/$UNAME/flutter
# The PUB_CACHE directory will be mounted as a docker volume in format.mk
Expand Down

0 comments on commit 5838692

Please sign in to comment.