Doug
8bc97b6585
Run Xcode select on the Translations and CalVer workflows. ( #4224 )
...
* Run Xcode select on the Translations and CalVer workflows.
* Use ci_common.sh for xcode-select instead.
2025-06-18 16:53:32 +01:00
Doug
ee0d054ee1
Make the secrets optional. ( #3966 )
2025-04-01 16:14:05 +01:00
Doug
bee7635537
Rename the Enterprise variant to Pro. ( #3877 )
2025-03-07 13:47:11 +00:00
Mauro Romito
6e7ab7e586
fetch unshallow only in post-clone
2025-03-07 10:56:02 +01:00
Mauro Romito
3d4c36e0bc
check if the git is shallow before fetching
2025-03-07 10:22:32 +01:00
Mauro Romito
8f3d7d2908
fastlane: rebase main with develop after a release
...
moved the git fetch into the setup of xcode cloud
fix
2025-03-06 17:05:22 +01:00
Doug
b249f0449a
Configure diagnostics (and MapLibre) using Pkl. ( #3820 )
...
* Bump the version for the next release.
* Ignore all generated sources.
* Use Pkl+XcodeGen to inject secrets instead of the project.
* Inject the PostHog/Sentry/Rageshake configuration from the environment.
* Fix bad unicode.
* Fix unit tests.
2025-02-24 18:36:08 +00:00
Doug
61312fa8ff
Update Enterprise submodule.
...
Include pkl in the dependencies.
2025-02-17 12:01:08 +00:00
Doug
bacaf5df8d
Use the new preview screen when tapping media on the room and pinned events screens. ( #3736 )
...
* Use the new TimelineMediaPreview modifier on the room and pinned timeline screens.
* Use the same presentation logic for all timeline media previews.
* Fix a bug with the detection of the timeline end.
* Send pagination requests from the media preview screen.
* Add SwiftLint to the Danger workflow (it is no longer installed on the runner).
* Put SwiftLint back on all of the GitHub runners too.
* Set the function_parameter_count lint rule to 10.
* Make sure to clean-up any previews when the coordinator is done.
* Handle the viewInRoomTimeline action more appropriately.
2025-02-05 13:27:23 +00:00
Stefan Ceriu
ef9c538cad
Replace ImageMagick with a custom tool written in swift.
2025-01-21 16:25:29 +02:00
Doug
c290330307
Switch UI tests back to the perf-only runner. ( #3349 )
2024-09-30 11:13:14 +01:00
Stefan Ceriu
34a5ac0a08
Free up CI runner disk space before running UI tests.
2024-09-10 18:23:13 +03:00
Doug
daf7a04535
Setup unit tests for Enterprise. ( #2984 )
...
* Fix Analytics on Enterprise.
2024-07-01 12:34:47 +01:00
Doug
0c8c0ce9b6
Use XcodeGen files for app variants and setup Enterprise submodule. ( #2976 )
...
- Create an app.yml with the base app variant.
- Override app.yml contents on Nightly/PR builds.
- Add AppHooks mechanism.
- Add Enterprise submodule.
- Conditionally import Enterprise/fastlane/Fastfile if available.
2024-06-27 18:18:17 +01:00
Doug
27215acbd3
Replace Towncrier with GitHub releases + labels. ( #2966 )
...
* Set up GitHub generated release notes.
* Remove Towncrier from the release script.
* Add changelog failures for Labels with Danger and stop requesting a changelog file.
* Update changelog documentation.
2024-06-25 11:07:01 +00:00
Doug
be8cbe98f6
Try Ruby 3.0 on CI.
2024-06-18 11:56:23 +01:00
Doug
cb1ec0a3c0
Use the system ruby on CI.
2024-06-18 11:49:28 +01:00
Stefan Ceriu
11b41d4f0f
Fix Xcode Cloud release notes, unshallow repository before generating them.
2024-03-17 09:16:30 +02:00
Stefan Ceriu
fbda3eec47
Brew link imagemagick@6
2024-03-13 11:05:09 +02:00
Doug
f50b57fcd4
Use imagemagick6 as it doesn't depend on Python. ( #2557 )
2024-03-12 17:06:51 +00:00
Doug
eebe5f362b
Only install imagemagick when needed.
...
Workaround for issues installing python from brew on a runner right now.
2024-03-11 12:16:09 +00:00
Stefan Ceriu
f28cb76260
Attempt to fix multiline Testflight changelog... again
2024-02-27 08:16:20 +02:00
Doug
cdee371443
Move PreviewTests into their own scheme. ( #2492 )
...
* Use xcresultparser for coverage as there are 2 schemes now.
2024-02-22 15:13:52 +00:00
Stefan Ceriu
661a3538b4
Attempt to fix multiline Testflight changelog
2024-02-22 12:00:50 +02:00
Stefan Ceriu
9ca2eaa0cc
Fixes #2104 - Expose changelog (git diffs since the last tag) on Xcode Cloud builds / Testflight
2024-01-25 12:34:56 +02:00
Stefan Ceriu
a3006fe21c
Translation workflow fix ( #2271 )
...
* Setup the translations workflow through ci_scripts
2023-12-19 19:50:04 +02:00
Stefan Ceriu
e177d31f7e
Show the build number on the nightly app icons
2023-11-27 10:55:38 +02:00
Doug
5a25eae67f
Upload to sentry before releasing/tagging. ( #1457 )
...
This is to prevent tags being created for CI runs that have failed.
2023-08-07 14:52:54 +01:00
Doug
047cbcf2d1
Tweak homebrew env vars. ( #1374 )
2023-07-20 16:15:33 +00:00
Alfonso Grillo
f0ee7e1499
Move Map Libre API key to Xcode Cloud ( #1313 )
...
* Add config_production lane
* Add maplibre to .gitignore
* Add setupMapLibreKey
* Add documentation
* Fix failing UTs
* Fix more UTs
* Cleanup
* Add secrets.xcconfig
* Cleanup gitignore file
* Update post-checkout hook
* Cleanup SetupProject
* Update project
* Remove leftover in SetupProject
* Cleanup project.yml
* Add fastlane-plugin-xcconfig
* Improve test
* Update docs
2023-07-14 10:19:38 +02:00
Stefan Ceriu
644a2ddbf9
Start installing imagemagick on Github actions
2023-05-26 15:00:58 +03:00
Stefan Ceriu
2c8b1f89ef
Resurrect the Xcode project file
2023-05-16 18:00:40 +03:00
Stefan Ceriu
c6d4a7244a
Tag nightlies after a successful build ( #871 )
...
* Tag nightlies after a successful build
* Tweaks and fixes after code review
2023-05-11 13:34:37 +03:00
Doug
6a790befb7
Fix brew on xcode cloud. ( #692 )
2023-03-08 19:01:54 +00:00
Doug
90d96afa55
Update danger message and brew dependencies. ( #683 )
2023-03-08 10:59:49 +00:00
Stefan Ceriu
91cf139162
Project file removal ( #569 )
...
* Deleted project file
* Add back SPM Package.resolved + .gitignore
* Generate project file on release builds
* Converge on single CI setup scripts within `ci_scripts/ci_common.sh`
* Fix unit tests
* Use new `ci_common/setup_github_actions_environment` setup script on all workflows
* Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow
* Fix integration tests workflow
* Tweaks following code review
2023-02-13 12:53:01 +00:00
Stefan Ceriu
651375dca4
Fixed XcodeCloud release workflows ( #268 )
...
* Export python 3.9 path and fix towncrier
* Fix Xcode Cloud git setup
2022-10-26 18:06:02 +03:00
Stefan Ceriu
8fc01b7e4e
Remove prepare_next_release step from release flows as we need to configure an upstream and a custom user to commit back to git
2022-10-25 15:09:11 +03:00
Stefan Ceriu
4e1bdf0554
Xcode Cloud Support ( #234 )
...
* Removed now unnecessary code from alpha builds
* Add nightly build configuration
* Update ruby dependencies
* Stop changing the app name for PRs and Nightly, the icon is sufficient
* Add ITSAppUsesNonExemptEncryption flag as per https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption and https://stackoverflow.com/questions/35841117/missing-compliance-status-in-testflight
* Updated app groups to reflect various environments: production, nightly and PR. Remove keychain access group as they should be inferred from the access groups
2022-10-24 16:00:17 +03:00