Граф коммитов

222 Коммитов

Автор SHA1 Сообщение Дата
Ben Dean-Kawamura eb1f268654 Build improvements with UniFFI library mode
Bumped UniFFI to 0.28.2

Added a tool to run uniffi-bindgen in library mode.  It can input either
a specific library path or the megazord crate name.

Use that simplify several build scripts -- especially the generate docs
ones.  The best part of this is that we no longer have to maintain
hand-written modulemaps, which makes adding a new component harder than
it needs to be.

Split out the uniffi-bindgen commands from `build-xcframework.sh`.  This
way you can run them standalone and see the results, even if you don't
have XCode setup.

One change is that
automation/swift-components-docs/generate-swift-project.sh now uses
`megazord_ios` rather than `megazord`.  I think this should result in
slightly more accurate docs, since historically some components in the
Android megazord aren't in the iOS one (Although, I think they match at
the present).
2024-10-17 17:59:42 +00:00
Ben Dean-Kawamura a4ef3c9d71 Bug 1921532 - Update symbol upload scripts
- Add `--inlines`
- Add `VERSION` and `PRODUCTNAME` extra info args

Updated dump_syms to a recent version
2024-10-08 18:04:14 +00:00
Bastian Gruber 0e3636d36e fix: remove empty variable 2024-09-23 17:41:30 +00:00
Bastian Gruber 82e6811660 fix: use library mode for kotlin docs 2024-09-23 15:57:09 +00:00
Julien Cristau 8883b29fc4 upload_symbols: print the response in case of error 2024-09-20 19:16:45 +00:00
Julien Cristau 37a76bb30d Pass the right symbols directory to upload_android_symbols.sh
The command had a stray double quote after `crashreporter-symbols`, and
wasn't pointing at $MOZ_FETCHES_DIR, so AFAICT it was not actually
uploading anything.
2024-09-20 13:24:22 +00:00
Ben Dean-Kawamura 8e1a7e6e7b Return non-zero exit code when symbol uploading fails
This happened for the 131 release, but we didn't catch it because the
python script exited successfully.
2024-09-19 21:02:17 +00:00
Bastian Gruber 21e5e4540e Switch suggest component from UDL to proc-macros 2024-09-19 18:47:08 +00:00
Bastian Gruber dc397f34ed Build Kotlin docs via Dokka 2024-09-10 14:59:33 +00:00
Bastian Gruber dbeaef2eb2 feat: be able to generate static website docs from swift components 2024-09-03 14:11:19 +00:00
Ben Dean-Kawamura cfb19af8ee Bug 1889982 - Upload android symbols
- Split the `upload_android_symbols.sh` into a generation script and an
  upload script.
- `module-build` tasks that have `uploadSymbols` set run the generation script.
- Added the `upload-symbols` task that to run the upload script.  This
  runs during the `ship` phase, the nightly cron job, and also for `[ci full]`
  (the latter uses dummy credentials).
2024-08-28 14:10:18 +00:00
Tarik Eshaq dca4196dcc Uses m1 runners for circle ci because x86 is deprecated 2024-06-11 12:51:51 +00:00
Alexander Cyon d73a4c7a45 Typos 2024-05-24 20:17:12 +00:00
Barret Rennie 8404b60b58 Support swiftformat on non-Darwin hosts 2024-01-18 03:20:47 +00:00
Barret Rennie 79880fc4aa Support swiftlint on non-Darwin hosts 2024-01-18 03:20:47 +00:00
Barret Rennie 10eb660f98 Add a utility to check for docker in automation/tests.py 2024-01-18 03:20:47 +00:00
Shubham Chaudhary 86bbfb0d57 [SYNC-3518] Add requirements.txt for automation directory
Solves PR: #5281
2023-10-05 15:39:11 +00:00
James Hugman 03b8c4d4cd Rearrange layout of server megazord to allow aarch64 and x86_64 2023-09-20 13:23:16 +00:00
Ben Dean-Kawamura fe3fb75ae7 Don't try to run trybuild tests with older rust versions
This is just asking for failure since we try to pin the trybuild output
to the newer rust version.

Updated `tests.py` to handle this and switched to using that in the
CircleCI config.  Ironically, it looks like we switched away from
`tests.py` because it was running too many tests in a previous Rust
upgrade.  Hopefully the new system is easy enough to tune the next time
this bites us.
2023-09-14 00:07:57 +00:00
James Hugman 5c190edd6a Initial commit of nimbus-experimenter megazord build 2023-09-13 15:07:55 +00:00
Lina Butler 05e579f746 taskcluster: Use `/usr/bin/env` in the shebang line to invoke `python3`.
I use pyenv to manage Python versions locally, so the `python3`
executable in my `PATH` is a shim that's different from the system
`python3`. This change ensures that running the Taskcluster scripts
locally uses the `python3` shims in my `PATH`.
2023-09-08 16:32:07 +00:00
Andrew Halberstadt 10b032aab0 Add 'version.txt' to project root and refactor automation to use it
This is needed in order to add application-services to Shipit, which
expects a `version.txt` file at the repository root. Rather than have
this duplicated both here and `.buildconfig-android.yml`, this patch
refactors automation to use `version.txt` instead.

Bug: 1842897
2023-07-17 13:35:11 +00:00
Ben Dean-Kawamura a0827dc2c3 Updating buildconfig for release cycle 116
Bumped the version in `.buildconfig-android.yml` and also fixed the
`prepare-release.py` script to properly bump the version next time.
2023-06-07 14:17:32 +00:00
Ryan VanderMeulen 63de16fdca Bump XCode to version 14.3.1 2023-05-27 20:13:17 +00:00
Charlie 795d72c9d4 move python tests 2023-05-23 19:21:50 +00:00
Charlie 896dc8a30a fix python tests 2023-05-23 19:21:50 +00:00
Charlie f8360ebe39 add license 2023-05-23 19:21:50 +00:00
Charlie 9b63b7d017 update tests to remove unittest uses and adjust configurations 2023-05-23 19:21:50 +00:00
Charlie 7eb2b77bc4 finish sdk/fml integration unit test 2023-05-23 19:21:50 +00:00
Charlie becc00c482 add nimbus-fml coverage, update python tests 2023-05-23 19:21:50 +00:00
Charlie 023d4727b2 add uniffi bindings for nimbus-fml; add FmlClient object with appropriate methods 2023-05-23 19:21:50 +00:00
Charlie 7f28f92226 update cirrus python test configuration 2023-05-17 15:26:37 +00:00
Charlie b79e5e0d8b update python test formatting 2023-05-09 21:37:57 +00:00
Charlie ad0d805487 add python tests and update CirrusClient members 2023-05-09 21:37:57 +00:00
Ben Dean-Kawamura f7b834f5b1 Bumping version in .buildconfig-android.yml 2023-05-08 16:45:03 +00:00
Ben Dean-Kawamura 48b8a12a11 Write trailing newlines when updating the changelog
Minor tweak that should make the PRs cleaner.
2023-05-08 14:55:38 +00:00
Ben Dean-Kawamura d853bd4847 Updating the release process and scripts
Updated/added scripts to handle releases.

Renamed `cut-an-new-release.md` to `releases.md` and updated the
contents.

Removed CHANGES_UNRELEASED.  The new release system is simple enough
that we can just write entries directly to the changelog.
2023-05-05 22:53:41 +00:00
Ben Dean-Kawamura 7ab0b4a631 Adding branch names to the shared code 2023-05-05 22:53:41 +00:00
lougeniaC64 bddfaa6e23
Fixing the objcopy path when building the building the megazord (#5483)
Co-authored-by: Ben Dean-Kawamura <bdk@mozilla.com>
2023-04-17 15:42:27 -04:00
jhugman 79b00b43e9
Add emoji to What's New and What's Changed (#5309) 2023-01-04 20:32:39 +00:00
Ben Dean-Kawamura 40f7b3e061 Reverting the Android NDK upgrade (#5165) 2022-10-12 16:13:37 -04:00
Ben Dean-Kawamura aad2c89828 Fixing the objcopy path when building the building the megazord 2022-09-20 18:35:07 -04:00
Mark Hammond e5d8a6d76c
Get sync-test working again. (#5107)
sync-test was removed from the workspace some time ago, which meant it
was never built or checked, so it went quite stale, particularly with
respect to logins changes.

We not keep it in the workspace but as an "excluded" item, which means
you can run it from its directory. To prevent it going stale again, CI
runs clippy on it.

Also needed a few misc tweaks to some other crates.
2022-09-08 20:02:18 +10:00
Tarik Eshaq ebbcc857b2
Adds firefox iOS smoke test (#4960)
* Adds firefox ios smoke test

* Document smoke test for firefox iOS
2022-05-19 13:28:28 -07:00
Sammy Khamis 3fbe10cfbe
Merge ios and ios-rust directories and clean up Xcode project (#4830)
* remove ios and keep ios-rust directory
2022-03-03 10:03:32 -10:00
Tarik Eshaq f14d3ab52c
Misc updates now that we got rid of carthage [ci full] (#4827)
* Removes outdated ffi doc

* various documentation updates re: Carthage is gone

* Remove dependency on swift protobuf

* update dependency summaries to exclude swift-protobuf

* revert taskcluster rust targets change
2022-02-07 16:23:55 -08:00
Sammy Khamis a086905f3d
Remove all Carthage and switch to xcframeworks (#4619)
* removing carthage and using xcframeworks
* update xcode to 13.2.1
* update resource class
2022-02-03 15:05:05 -10:00
Tarik Eshaq d301163d67
Only test all-features if features exist (#4749) 2021-12-21 09:41:00 -07:00
Tarik Eshaq 451bcc2fe8
Fix swiftformat (#4710)
* Fixes swiftformat

* upgrades the ci to use swiftversion 5
2021-12-06 13:40:57 -08:00
Sammy Khamis e9bfa79c09
Update XCode to 13 [ci full] (#4492)
* update xcode to 13 in circleci
* update build system usage
2021-09-27 13:54:08 -10:00