Skip to content
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
f10f839
initial commit
ndonkoHenri Jan 23, 2026
2750093
Add support for artifact name in build configuration and CLI arguments
ndonkoHenri Jan 24, 2026
0c71a92
flet-webview: Add troubleshooting section for NET::ERR_CLEARTEXT_NOT_…
ndonkoHenri Jan 24, 2026
7c975a9
Refactor output handling to check for string type before logging in b…
ndonkoHenri Jan 24, 2026
a323c9a
improve publish docs
ndonkoHenri Jan 24, 2026
9c8c886
improve publish docs
ndonkoHenri Jan 24, 2026
5ea32e7
improve publish docs
ndonkoHenri Jan 25, 2026
98f6e90
reorganize
ndonkoHenri Jan 25, 2026
e10c81d
improve
ndonkoHenri Jan 25, 2026
b99692b
improve
ndonkoHenri Jan 25, 2026
09ce12f
remove underscores from docs filenames and fix refs
ndonkoHenri Jan 26, 2026
b2b3563
update
ndonkoHenri Jan 26, 2026
799dd30
update
ndonkoHenri Jan 26, 2026
36437fb
update
ndonkoHenri Jan 26, 2026
8c9723e
update
ndonkoHenri Jan 26, 2026
4961477
update
ndonkoHenri Jan 26, 2026
399a461
update
ndonkoHenri Jan 26, 2026
6f3e2ff
update
ndonkoHenri Jan 26, 2026
7ef617a
update
ndonkoHenri Jan 26, 2026
edc724b
update
ndonkoHenri Jan 26, 2026
03a09f9
update
ndonkoHenri Jan 26, 2026
c9f4b17
update
ndonkoHenri Jan 26, 2026
7746f0a
update
ndonkoHenri Jan 27, 2026
8d1e6e7
Merge branch 'refs/heads/main' into product-project-artifact
ndonkoHenri Jan 27, 2026
0ad99cf
fastapi docs
ndonkoHenri Jan 27, 2026
f6b93b0
flet-build-test
ndonkoHenri Jan 27, 2026
fed91f0
updates
ndonkoHenri Jan 27, 2026
cf2ceff
updates
ndonkoHenri Jan 27, 2026
7a2f85d
fix filepicker
ndonkoHenri Jan 27, 2026
74017d6
updates
ndonkoHenri Jan 27, 2026
cb1acb9
--no-config
ndonkoHenri Jan 27, 2026
a7126d6
--offline
ndonkoHenri Jan 27, 2026
303561a
remove dev deps
ndonkoHenri Jan 27, 2026
7797581
[tool.uv.sources]
ndonkoHenri Jan 27, 2026
971017a
[tool.uv.sources]
ndonkoHenri Jan 27, 2026
3b1b1e0
flet-project
ndonkoHenri Jan 27, 2026
79ec2c3
--template-ref 0.81.0
ndonkoHenri Jan 27, 2026
caf7145
[tool.flet.dev_packages]
ndonkoHenri Jan 27, 2026
54a120c
[tool.flet]
ndonkoHenri Jan 27, 2026
ee8fbe5
[tool.flet]
ndonkoHenri Jan 27, 2026
2a3ed07
update
ndonkoHenri Jan 27, 2026
a9fd08d
update
ndonkoHenri Jan 27, 2026
8131b19
update
ndonkoHenri Jan 27, 2026
02d5331
update
ndonkoHenri Jan 27, 2026
029af31
Merge branch 'main' into product-project-artifact
ndonkoHenri Jan 28, 2026
30cd5f5
Update template reference version in build-test.yml
ndonkoHenri Jan 28, 2026
e96a647
Update artifact path for upload in build-test.yml
ndonkoHenri Jan 28, 2026
8d27ab7
Add Flutter setup step in build-test.yml
ndonkoHenri Jan 30, 2026
246599b
Enhance find_flutter_batch to normalize executable paths, on windows
ndonkoHenri Jan 30, 2026
5d7519e
Add flet_secure_storage import in main.py
ndonkoHenri Jan 30, 2026
37fd53d
re-enable ci
ndonkoHenri Jan 30, 2026
3038674
re-enable ci
ndonkoHenri Jan 30, 2026
2f36115
platform-specific notes
ndonkoHenri Jan 30, 2026
91c2725
fix #6063: improve `TileLayer.additional_options` parsing
ndonkoHenri Jan 31, 2026
f560c90
Add flet-web to docs dependency group
ndonkoHenri Jan 31, 2026
6e0be56
Remove push trigger for docs build on product-project-artifact branch
ndonkoHenri Jan 31, 2026
4563419
Add GitHub Actions workflow example for building Flet app across plat…
ndonkoHenri Jan 31, 2026
ce2de4e
Add raw block to GitHub Actions workflow example in index.md
ndonkoHenri Jan 31, 2026
bc85f43
Add numpy and pillow to project dependencies
ndonkoHenri Jan 31, 2026
1ad22f5
Add numpy and pillow imports
ndonkoHenri Jan 31, 2026
31d9454
Fix android signing key store retrieval in build_base.py
ndonkoHenri Jan 31, 2026
a36a4d5
change `if-no-files-found` to `fail` and enhance clarity in the `inde…
ndonkoHenri Feb 1, 2026
785143c
Rename build-test.yml to flet-build-test.yml and update workflow paths
ndonkoHenri Feb 1, 2026
3c7af8b
Change `if-no-files-found` from `fail` to `error` in flet-build-test.…
ndonkoHenri Feb 1, 2026
e0423fd
Merge branch 'main' into product-project-artifact
ndonkoHenri Feb 1, 2026
a2298b9
update FLET_BUILD_TEMPLATE_REF to point to product-project-artifact
ndonkoHenri Feb 1, 2026
7e25271
fix #6108: update session storage docs
ndonkoHenri Feb 1, 2026
1547fca
fix raw block
ndonkoHenri Feb 3, 2026
cc2fc2d
update Flutter dependencies section in index.md for clarity and examples
ndonkoHenri Feb 3, 2026
70c9cfb
reorder flutter deps section
ndonkoHenri Feb 3, 2026
dcafbef
update flet-build-test.yml to ignore main branch and remove template …
ndonkoHenri Feb 6, 2026
29351dc
update flet-build-test.yml to set fetch-depth and fetch-tags for repo…
ndonkoHenri Feb 6, 2026
ea97503
add support for extra CLI arguments in flet-build-test.yml workflow
ndonkoHenri Feb 6, 2026
e537084
Merge branch 'main' into product-project-artifact
ndonkoHenri Feb 6, 2026
6c11e60
apply review suggestions
ndonkoHenri Feb 6, 2026
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
200 changes: 200 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@

name: Flet Build Test

on:
push:
paths:
- '.github/workflows/build-test.yml'
- '.fvmrc'
- 'client/**'
- 'sdk/python/packages/**'
- 'packages/flet/**'
- 'sdk/python/examples/apps/flet_build_test'
pull_request:
paths:
- '.github/workflows/build-test.yml'
- '.fvmrc'
- 'client/**'
- 'sdk/python/packages/**'
- 'packages/flet/**'
- 'sdk/python/examples/apps/flet_build_test'
workflow_dispatch:

concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref_name }}
cancel-in-progress: true

env:
UV_PYTHON: 3.12
PYTHONUTF8: 1

# https://docs.flet.dev/publish/
BUILD_NUMBER: 1
BUILD_VERSION: 1.0.0
TEMPLATE_REF: 0.81.0

# https://docs.flet.dev/reference/environment-variables
FLET_CLI_NO_RICH_OUTPUT: 1

jobs:
build:
name: Build (${{ matrix.name }})
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
include:
# -------- Desktop --------
- name: linux
runner: ubuntu-latest
build_cmd: "flet build linux --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: linux-build-artifact
artifact_path: build/linux
needs_linux_deps: true

- name: macos
runner: macos-latest
build_cmd: "flet build macos --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: macos-build-artifact
artifact_path: build/macos
needs_linux_deps: false

- name: windows
runner: windows-latest
build_cmd: "flet build windows --yes --verbose --no-rich-output --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: windows-build-artifact
artifact_path: build/windows
needs_linux_deps: false

# -------- Android --------
- name: aab-ubuntu
runner: ubuntu-latest
build_cmd: "flet build aab --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: aab-build-ubuntu-artifact
artifact_path: build/aab
needs_linux_deps: false

- name: aab-macos
runner: macos-latest
build_cmd: "flet build aab --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: aab-build-macos-artifact
artifact_path: build/aab
needs_linux_deps: false

- name: aab-windows
runner: windows-latest
build_cmd: "flet build aab --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: aab-build-windows-artifact
artifact_path: build/aab
needs_linux_deps: false

- name: apk-ubuntu
runner: ubuntu-latest
build_cmd: "flet build apk --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: apk-build-ubuntu-artifact
artifact_path: build/apk
needs_linux_deps: false

- name: apk-macos
runner: macos-latest
build_cmd: "flet build apk --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: apk-build-macos-artifact
artifact_path: build/apk
needs_linux_deps: false

- name: apk-windows
runner: windows-latest
build_cmd: "flet build apk --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: apk-build-windows-artifact
artifact_path: build/apk
needs_linux_deps: false

# -------- iOS --------
- name: ipa
runner: macos-latest
build_cmd: "flet build ipa --yes --verbose --build-number=$BUILD_NUMBER --build-version=$BUILD_VERSION"
artifact_name: ipa-build-artifact
artifact_path: build/ipa
needs_linux_deps: false

# -------- Web --------
- name: web-ubuntu
runner: ubuntu-latest
build_cmd: "flet build web --yes --verbose"
artifact_name: web-build-ubuntu-artifact
artifact_path: build/web
needs_linux_deps: false

- name: web-macos
runner: macos-latest
build_cmd: "flet build web --yes --verbose"
artifact_name: web-build-macos-artifact
artifact_path: build/web
needs_linux_deps: false

- name: web-windows
runner: windows-latest
build_cmd: "flet build web --yes --verbose"
artifact_name: web-build-windows-artifact
artifact_path: build/web
needs_linux_deps: false

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup uv
uses: astral-sh/setup-uv@v6

- name: Install Linux dependencies
if: matrix.needs_linux_deps
shell: bash
run: |
sudo apt update --allow-releaseinfo-change
sudo apt-get install -y --no-install-recommends \
clang \
ninja-build \
libgtk-3-dev \
libasound2-dev \
libmpv-dev \
mpv \
libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer-plugins-bad1.0-dev \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
gstreamer1.0-tools \
gstreamer1.0-x \
gstreamer1.0-alsa \
gstreamer1.0-gl \
gstreamer1.0-gtk3 \
gstreamer1.0-qt5 \
gstreamer1.0-pulseaudio \
pkg-config \
libsecret-1-0 \
libsecret-1-dev
sudo apt-get clean


- name: Setup Flutter
uses: kuhnroyal/flutter-fvm-config-action/setup@v3
with:
path: '.fvmrc'
cache: true

- name: Build app
shell: bash
working-directory: sdk/python/examples/apps/flet_build_test
run: |
uv run ${{ matrix.build_cmd }} --template-ref 0.80.4

- name: Upload Artifact
uses: actions/upload-artifact@v5.0.0
with:
name: ${{ matrix.artifact_name }}
path: sdk/python/examples/apps/flet_build_test/${{ matrix.artifact_path }}
if-no-files-found: warn
overwrite: false
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Build & Publish

on:
push:
branches:
- '**'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
paths:
- '.github/workflows/ci.yml'
- '.github/scripts/**'
- 'client/**'
- 'sdk/python/packages/**'
- 'packages/flet/**'
- '.fvmrc'
pull_request:
paths:
- '.github/workflows/ci.yml'
- '.github/scripts/**'
- 'client/**'
- 'sdk/python/packages/**'
- 'packages/flet/**'
- '.fvmrc'
# push:
# branches:
# - '**'
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'
# paths:
# - '.github/workflows/ci.yml'
# - '.github/scripts/**'
# - 'client/**'
# - 'sdk/python/packages/**'
# - 'packages/flet/**'
# - '.fvmrc'
# pull_request:
# paths:
# - '.github/workflows/ci.yml'
# - '.github/scripts/**'
# - 'client/**'
# - 'sdk/python/packages/**'
# - 'packages/flet/**'
# - '.fvmrc'
workflow_dispatch:

permissions:
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/macos-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: macOS Integration Tests

on:
push:
paths:
- '.github/workflows/macos-integration-tests.yml'
- 'sdk/python/packages/flet/src/**'
- 'sdk/python/packages/flet/integration_tests/**'
- 'packages/flet/**'
- 'client/**'
- '.fvmrc'
pull_request:
paths:
- '.github/workflows/macos-integration-tests.yml'
- 'sdk/python/packages/flet/src/**'
- 'sdk/python/packages/flet/integration_tests/**'
- 'packages/flet/**'
- 'client/**'
- '.fvmrc'
# push:
# paths:
# - '.github/workflows/macos-integration-tests.yml'
# - 'sdk/python/packages/flet/src/**'
# - 'sdk/python/packages/flet/integration_tests/**'
# - 'packages/flet/**'
# - 'client/**'
# - '.fvmrc'
# pull_request:
# paths:
# - '.github/workflows/macos-integration-tests.yml'
# - 'sdk/python/packages/flet/src/**'
# - 'sdk/python/packages/flet/integration_tests/**'
# - 'packages/flet/**'
# - 'client/**'
# - '.fvmrc'
workflow_dispatch:

# Ensure only one run per branch (PR or push), cancel older ones
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.14.13
hooks:
# Run the linter.
- id: ruff
Expand All @@ -16,7 +16,7 @@ repos:
- id: sort-all

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Loading
Loading