Commit Graph

63 Commits

Author SHA1 Message Date
Doug
57d5e5b4b3 Really fix the release script. 2026-03-24 19:45:07 +00:00
Doug
e50e3ca84e Fix the release script. 2026-03-24 17:06:44 +00:00
Stefan Ceriu
75cc0cade7 Revert "Move CI GitHub token usage to the global git configuration"
This reverts commit 8fb3f2196a.
2026-03-19 08:59:30 +02:00
Stefan Ceriu
8fb3f2196a Move CI GitHub token usage to the global git configuration 2026-03-13 16:57:01 +02:00
Stefan Ceriu
c3ba6113fe Replace the last of the fastlane lanes with swift tooling
- move more sharable code to CI static methods
- merge `release_to_github` and `prepare_next_release` into one single command as they had dependencies on each other
- remove all traces of ruby and fastlane
2026-03-11 10:06:44 +02:00
Doug
95135cbf2c Actually fix the post-build command. 2026-03-05 17:41:24 +00:00
Doug
c2d0a2d7ee Fix the post-build command. 2026-03-05 17:08:54 +00:00
Stefan Ceriu
eddcc5c605 Convert more fastlane tools to swift commands (#5163)
* Upload dSYMs to sentry using swift and the sentry-cli instead of fastlane.

* Replace the fastlane `config_production` lane with a swift tools `ConfigureProduction` command.

* Replace Zsh with CI.run in the new ConfigureNightly command

* Replace the fastlane `tag_nightly` lane with a swift tools `TagNightly` command.

* Print out all the commands going through CI.Run and their arguments

* Address PR comments
2026-03-05 16:14:09 +02:00
Stefan Ceriu
9193b188ed Replace the enterprise unit tests workflow with the new swift ones 2026-03-02 12:34:58 +02:00
Stefan Ceriu
1a42dbda97 Add swift command for running integration tests 2026-03-02 12:34:58 +02:00
Stefan Ceriu
6e60aac0dc Add swift command for running UI tests 2026-03-02 12:34:58 +02:00
Stefan Ceriu
3dfb33d6e9 Replace the readMarketingVersion method with a cleaner Yams based one and extract it into the shared tools 2026-03-02 12:34:58 +02:00
Stefan Ceriu
17189bf968 Add swift command for running accessibility tests 2026-03-02 12:34:58 +02:00
Stefan Ceriu
a04df6fcae Add a separate tools command for building nightly and remove the old fastlane one. 2026-02-26 18:43:49 +02:00
Stefan Ceriu
c15bb918e8 Set CI RunTests command retries default to 0, use 3 only for running unit tests. 2026-02-26 16:32:39 +02:00
Stefan Ceriu
c92e847ed7 Replace ruby/fastlane tools with swift variants. (#5105)
* Replace ruby/fastlane unit and preview test flows with swift variants.

* Switch to swift-log and Logger for logging

* Address (my own!) PR comments.

---------

Co-authored-by: Doug <douglase@element.io>
2026-02-19 09:13:42 +00:00
Stefan Ceriu
04053ae69b Update files following swiftformat upgrade 2026-01-27 12:50:57 +02:00
Doug
a78a923b0d Add a dedicated target for SDK mocks to avoid type name conflicts on the generated code. 2026-01-06 10:57:37 +00:00
Doug
bab9b89416 Some random tweaks made on a train 🚆 (#4636)
* Fix the search text field's tint colour.

* Don't allow optional content IDs in the placeholder avatar.

* Use SwiftUI to resolve the hex values in the Inspector app.

This fixes incorrect values being shown in dark/high-contrast modes.

* Fix a layout bug with the colour swatch in the Inspector app on iPhone.

* Switch to the chats tab when selecting a room with the global search screen.

* Run the latest SwiftFormat.
2025-10-21 10:04:54 +01:00
Doug
6cf7e90b3b Use the new Icon Composer .icon format. (#4612) 2025-10-10 20:00:03 +01:00
Stefan Ceriu
6cc47e0661 Fix how we generate app icon banners and implicitly the nightly icon (..again 🤦‍♂️). 2025-10-02 21:04:55 +03:00
Stefan Ceriu
4bb8dad64d Have the nightly label actually fit the icon. 2025-09-28 13:11:17 +03:00
Stefan Ceriu
5aa41736d6 Make the BuildSDK tool an AsyncParsableCommand and avoid help showing up after the command is run. 2025-06-26 16:10:46 +03:00
Doug
ea4f1ba9f3 Automatically open a PR to bump the calver (#4167)
* Update our tools package to Swift 6.1

Also improves the package layout with subdirectories 📁

* Update GenerateSDKMocks to be an Async command.

* Add a tool to bump the project CalVer every month.

* Add a workflow to automatically bump the calendar version.

Note: This only does year & month, the patch is handled by the release script.
2025-06-03 17:52:16 +01:00
Doug
9e95ef8a70 Add a tool (based on Periphery) that reports any unused strings. 2025-05-05 10:01:59 +03:00
Mauro Romito
0ee2199645 updated the SDK to 25.03.24 2025-03-25 12:17:11 +01:00
Doug
61312fa8ff Update Enterprise submodule.
Include pkl in the dependencies.
2025-02-17 12:01:08 +00:00
Stefan Ceriu
ef9c538cad Replace ImageMagick with a custom tool written in swift. 2025-01-21 16:25:29 +02:00
Stefan Ceriu
346b36e5ba Bump the RustSDK to v25.01.15 and fix (most) concurrency sendability warnings in the generated mocks. 2025-01-15 14:59:54 +02:00
Doug
48314ec403 Fix an error message in BuildSDK. 2024-10-17 12:45:44 +01:00
Stefan Ceriu
ab8095d06c Make SwiftFormat 0.54.4 happy. 2024-09-09 08:23:53 +03:00
Doug
8a8f1fdf2c Use SwiftPackageList to generate acknowledgements. (#3117) 2024-08-06 12:39:37 +01:00
Doug
3f57668f56 Adopt Rust's new sessionPath that replaces the basePath (#2903) 2024-06-06 18:35:57 +01:00
Stefan Ceriu
4d6f5d91a8 Generate mocks for all SDK classes and introduce a simple TimelineItemFactory test to try them out 2024-06-05 17:51:45 +03:00
Doug
fd8367df2a Update the tools to use swift-command-line-tools. 2024-05-15 11:32:45 +01:00
Doug
9efe29621c Fix SDK build script. 2024-05-14 11:06:46 +01:00
Doug
846d00e831 Update build-sdk tool. (#2835)
- Support new --target option on Rust allowing multiple targets to be built.
- Add new --device and --simulator shortcuts.
2024-05-14 10:48:52 +01:00
Mauro
ed62be3a5e Download SAS Strings Tool + Localised SAS emojis (#2409) 2024-01-31 13:29:52 +01: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
38a14af3ed Remove debug flag from brew installs 2023-12-19 15:56:55 +02:00
Stefan Ceriu
5f65aca035 Add verbose and debug flags to brew installs 2023-12-19 15:01:17 +02:00
Doug
1f289b1334 Process InfoPlist.strings in Localazy config. (#2249)
Also merge the 2 configs into one using a group to download all strings.
2023-12-15 08:58:34 +00:00
Mauro
79447b1f25 Periphery to detect dead code (#2227) 2023-12-12 10:17:15 +00:00
Doug
1f1aff21be Remove link LFS step in setup-project. (#1987) 2023-10-30 17:37:26 +00:00
Stefan Ceriu
ed4c725fbc Revert "Debug is no longer crashing as of matrix-rust-sdk/pull/2595, time to make it the default again so that debugging works properly"
This reverts commit 9ef6123de0.
2023-10-23 17:09:58 +03:00
Stefan Ceriu
9ef6123de0 Debug is no longer crashing as of matrix-rust-sdk/pull/2595, time to make it the default again so that debugging works properly 2023-10-18 15:46:08 +03:00
Doug
d4b09141fe Add remaining iOS 17 introspections. (#1806)
* Update compound.

* Update Ruby gems.

* Skip smudging in Fastlane.

* Link Git LFS for Xcode in setup-project.
2023-09-29 17:29:27 +01:00
Stefan Ceriu
030b1b0bfa Various tweaks (#1129)
* Fixes #1121 - Hide the loading indicator after the logout task finishes

* Manually restart the sync only when entering the `error` state

* Use stopSync instead of the roomListService directly on client deinit

* Replace WeakClientProxyWrapper with callback based delegate

* Fix homescreen user avatar not automatically updating

* Replace default Build SDK profile with reldbg, which is fast but also doesn't crash

* Always show the loading indicator when the room list is not in a `running` state

* Implement delayed user indicator presentations through the normal API

* Fix the unit tests

* Replace UserIndicatorController delayedIndicators dictionary with a plain set
2023-06-22 15:04:20 +03:00
Mauro
cfe0adc101 buildSDK.sh script, build the sdk without encountering target problems (#1063)
* Script that allows to build the sdk without any issue

* target independent solution

* Update CONTRIBUTING.md

* better more scalable solution

* Revert "Update CONTRIBUTING.md"

This reverts commit 5cc20019ad4277f5745f32eb9472e21bdb6f2160.

* Update Tools/Sources/BuildSDK.swift

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2023-06-12 09:11:53 +00:00
Mauro
7af09b5902 SDK Bump to 1.0.74 (#1059)
* testing improvements

* code improvements and sdk bump

* improved the stencil file

* improved the build sdk function

* code improvement

* also added the tearDown
2023-06-09 16:27:08 +00:00