diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..4432491a3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,68 @@ +name: Fluent UI for Flutter Client +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +jobs: + build_windows: + name: Windows Client + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + submodules: recursive + - uses: subosito/flutter-action@v2 + with: + channel: "stable" + cache: true + - run: git config --system core.longpaths true + - name: Flutter Pub Get + run: flutter pub get + working-directory: ./example + - name: Build for Windows + run: flutter build windows --verbose + working-directory: ./example + + # build_linux: + # name: Linux Client + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v3 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # submodules: recursive + + # - run: sudo apt-get update -y + # - run: sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev + # - uses: subosito/flutter-action@v2 + # with: + # channel: "stable" + # cache: true + # - run: cd example + # - run: flutter pub get + # - run: flutter build linux --verbose + + build_macOS: + name: macOS Client + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + submodules: recursive + - uses: subosito/flutter-action@v2 + with: + channel: "stable" + architecture: x64 + - name: Flutter Pub Get + run: flutter pub get + - name: Flutter Build macOS + run: flutter build macos --verbose + working-directory: ./example \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e1716836a..6aae3b85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,7 @@ ## [next] + - Dynamically adding/removing items in NavigationPane ([#744](https://github.com/bdlukaa/fluent_ui/issues/744)) - ```dart - if (_itemKeys.length != widget.pane?.effectiveItems.length) { - if (widget.pane?.effectiveItems.length != null) { - _generateKeys(); - } - } - ``` -- Fix example application was showing 2 WindowsIcons on changing transparency and maximizing +- Fix example application was showing window icons twice on transparency change and maximizing - Add `TextFormBox.initialValue` ([#749](https://github.com/bdlukaa/fluent_ui/issues/749)) - Add `PaneItem.enabled` ([#748](https://github.com/bdlukaa/fluent_ui/discussions/748)) - Add Thai localization ([#750](https://github.com/bdlukaa/fluent_ui/pull/750)) diff --git a/example/pubspec.lock b/example/pubspec.lock index a510b1a14..d4df0af8a 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -201,10 +201,10 @@ packages: dependency: "direct main" description: name: go_router - sha256: f611d4396469c46db1c61e934a86e2a590ce02de2a6050d01f677879ce151f4a + sha256: b4bb06205ec607278b6fc23db238278417bca84a3905779cc68d1eb7afae37e2 url: "https://pub.dev" source: hosted - version: "6.0.1" + version: "6.2.0" html: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 6607e2dae..a1bd85591 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -27,6 +27,7 @@ dependencies: git: url: https://github.com/YehudaKremer/flutter_syntax_view.git go_router: ^6.2.0 + dev_dependencies: flutter_test: sdk: flutter