forked from flet-dev/serious-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit a3ec189
Migrate CI to GitHub Actions (flet-dev#177)
* initial commit
* updates
* updates
* chore(ci): update CI configuration for concurrency and Flutter setup
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* updates
* update
* update
* Add ELF 16KB alignment check script and CMake flags
Introduces a comprehensive shell script to check ELF segment alignment for Android 16KB page size compatibility, addressing upcoming Google Play requirements. Updates CMakeLists.txt to set linker flags for 16KB page size support when building for Android, ensuring native libraries are compliant for Android 15+.
* Bump version to 0.9.4
* Increase minSdkVersion to 21 in build.gradle
Updated the Android project's minimum SDK version from 16 to 21 to ensure compatibility with newer APIs and libraries.
* Switch flet dependency to Git source
Changed the flet package source from a versioned release to a Git repository reference, pointing to the main branch of the official flet-dev/flet repository. This allows for using the latest code from the repository.
* Remove --pre flag from serious_python packaging commands
The --pre flag was removed from all dart run serious_python:main package commands in the CI workflow for all platforms. This change likely reflects an update in the packaging process or a move away from using pre-release features.
* Update iOS CI workflow to run integration tests
Replaces the iOS build step with a Flutter integration test run using the simulator's UDID. Adds a step to display the simulator UDID and ensures dependencies are fetched for Linux tests.
* Update CI workflow: add uv setup and streamline steps
Adds a step to set up uv using astral-sh/setup-uv, removes the explicit apt-get update, and consolidates the iOS build and test steps. Also removes the simulator UDID output step for a cleaner workflow.
* Remove flutter devices step from CI workflow
Eliminates the redundant 'flutter devices' command from the CI job for the Flet example, streamlining the workflow.
* Remove --force flag from Dart publish step
The --force flag was removed from the 'dart pub publish --dry-run' command in the CI workflow. This change ensures the publish step adheres to standard dry-run behavior without forcing publication.
* Add caching for Android SDK in CI workflow
Introduces a cache step for Android SDK components in the GitHub Actions CI workflow to improve build performance and reduce setup time.
* Remove Android SDK cache step from CI workflow
The step for caching the Android SDK directories has been removed from the GitHub Actions CI workflow. This may help avoid cache-related issues or reduce workflow complexity.
* updates
* ci: enhance Linux build configuration with architecture-specific dependencies
* ci: update macOS and iOS jobs to use latest runner and improve test commands
* ci: update version computation logic in CI workflow
* ci: remove dry-run step from package publishing
* ci: use environment variable for emulator port in CI workflow
* update CI configuration for versioning and patching
* Trying to fix publish job
* Replace dry-run publish with dart analyze in CI
In the CI workflow, the non-tagged branch step now runs 'dart analyze' instead of 'dart pub publish --dry-run' to perform static analysis rather than a dry-run publish. This improves code quality checks during CI for non-release branches.
* Run 'dart pub get' before analysis in CI
Adds 'dart pub get' to the CI workflow before running 'dart analyze' for non-tagged builds to ensure dependencies are installed prior to analysis.
* sleep on publish only
* Enable pub.dev steps only for version tags in CI
Added conditional execution for pub.dev credential configuration and pubspec version patching steps to run only when the workflow is triggered by a version tag. This prevents these steps from running on non-release branches.
* Exclude gen.dart from analyzer checks
Added lib/src/gen.dart to the analyzer exclude list in analysis_options.yaml to prevent analysis of generated code.
* Enable tag-based publishing in CI workflow
Removes conditional checks and ensures publishing steps run only for tag refs starting with 'v'. Simplifies the publish_pkg function to always publish and adjusts sleep intervals between package publishes.
* Enable CI jobs for all platforms
Uncommented and activated CI jobs for macOS, iOS, Android, Windows, and Linux in the GitHub Actions workflow. The publish job now depends on successful completion of all platform tests, improving cross-platform coverage and release reliability.
* Remove explicit shell specification from CI steps
Eliminated redundant 'shell: bash' lines from multiple workflow steps in .github/workflows/ci.yml to simplify configuration and rely on default shell behavior.
* Remove commented concurrency config from CI workflow
Deleted unused, commented-out concurrency settings from the GitHub Actions CI workflow file to clean up configuration.
* Remove download_artifact.py script
Deleted the .github/scripts/download_artifact.py script, which handled downloading and extracting build artifacts from AppVeyor. This cleanup removes unused or obsolete CI utility code.
* Add flutter pub get to CI test workflow
Ensures Flutter dependencies are installed before running integration tests in the CI pipeline for the flet_example project.
---------
Co-authored-by: ndonkoHenri <[email protected]>1 parent f5684e0 commit a3ec189Copy full SHA for a3ec189
File tree
Expand file treeCollapse file tree
7 files changed
+306
-356
lines changedOpen diff view settings
Filter options
- .github
- scripts
- workflows
- ci
- src
- serious_python_android
- serious_python/example/flet_example/integration_test
Expand file treeCollapse file tree
7 files changed
+306
-356
lines changedOpen diff view settings
Collapse file
-297Lines changed: 0 additions & 297 deletions
This file was deleted.
Collapse file
ci/patch_pubspec.py renamed to .github/scripts/patch_pubspec.py
Copy file name to clipboardExpand all lines: .github/scripts/patch_pubspec.py+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments