Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add build workflows #753

Merged
merged 9 commits into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 2 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down