Skip to content

Commit

Permalink
add build workflows (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa authored Mar 7, 2023
2 parents cf9f377 + 09ef014 commit 16a910d
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 8 deletions.
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
9 changes: 1 addition & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +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
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

0 comments on commit 16a910d

Please sign in to comment.