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

33 Коммитов

Автор SHA1 Сообщение Дата
James Hugman 94751e6b38 Fixup x86_64-unknown-linux-musl 2023-05-09 14:57:10 +00:00
James Hugman c849246dea Add an install-only option 2023-05-09 14:57:10 +00:00
James Hugman 46e5b1c1e6 nimbus-cli: Refactor nimbus-fml/build-dist.sh for re-use. 2023-05-09 14:57:10 +00:00
Mark Hammond 45432edd98
Get autopublish flows working with the new nightlies mechanisms (#5518) 2023-04-28 05:54:07 +10:00
Ben Dean-Kawamura 7914164981 Adding nightly-publish task
This task publishes artifacts needed by consumers to use the nightly,
including:
  - maven.json: where were the maven packages published?
  - swift-components.zip: generated swift files + xcframework
  - nimbus-fml.zip / nimbus-fml.sha256: nimbus-fml binary

Currently, nightly builds use a different maven group id
(org.mozilla.appservices.nightly) to separate them from "real" builds,
although this may change based on feedback from the Android team

Don't try to publish maven packages using the nightly repos.  The
Android team prefers them in the regular repos.

Small fix to make exceptions print out correctly for NimbusGradlePlugin.
I was seeing a lot of download errors when testing this.

Building swift-components.zip required building on a mac worker, which
required some extra work/hacking
  - Added a `run-commands` job implementation that works on
    `generic-worker`.
  - The ios tests are not working yet, so I just commented them out.
  - For now the entire build happens in one task.  Eventually we should
    split it up, maybe into toolchain task and a separate build/test
    task for Fenix/Focus.
  - Updated several of our scripts to use env vars rather than
    hardcoding things based on the docker-worker.
2023-04-21 15:48:53 -04:00
Ryan VanderMeulen dc1826a893 Remove unsupported kotlin-android-extensions plugin usage 2023-03-07 08:18:32 -05:00
Ryan VanderMeulen 6d4867ef3f Update Kotlin to version 1.8.10
Also remove some unnecessary kotlin-stdlib usage as it's already implicit.
2023-03-07 08:18:32 -05:00
Ryan VanderMeulen 0beee90db0
Update protobuf to version 3.21.4. (#5078) 2022-08-03 15:00:09 -04:00
Ryan VanderMeulen b1df2181b2 Update various gradle libraries to newer releases. 2022-08-02 19:49:37 -04:00
Ryan VanderMeulen cb117a3df0
Update protobuf to latest releases. (#5021)
Updates protobuf to version 3.21.2 and the gradle plugin to version 0.8.18.
Upstream protobuf also has native M1 Mac support now, so remove a hack which
isn't needed anymore.

Co-authored-by: Tarik Eshaq <teshaq@mozilla.com>
2022-06-29 14:03:07 -07:00
Ben Dean-Kawamura 88fd0a07ac Added features to support application-services branch builds
Added code that copies data from `local.properties` to the gradle
instance, like android-components does.

If `branchBuild.application-services.version` is set in
`local.properties`, then we set the app-services version to that exact
string.

Updated `substitute-local-appservices.gradle` to also support that
property (in this case it's set in the `android-components` directory).

The plan is to use this feature to build/test fenix using a particular
checkout of application-services, with the version set to the git commit
ID.
2022-04-21 12:02:36 -04: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
Jan-Erik Rediger c5d6c28d73
Use correct name for espresso-core dependency 2021-09-14 23:05:07 +02:00
Sammy Khamis 6c839a3ade
Update uniffi 0.14.0 (#4389)
* Update UniFFI dependency to v0.14.0

Co-authored-by: Ryan Kelly <ryan@rfk.id.au>
2021-08-19 16:31:02 -10:00
Ryan Kelly c40fd3a12b
Update android dependencies [ci full] (#4345)
This uses the new, cleaner factoring of our Android config from #4194
as an excuse to update some of our Android dependencies to bring them
inline with what's used in current android-components. It was much
easier than it has been in the past!
2021-07-26 11:09:11 +10:00
Ryan Kelly c12b286312 Extract the bulk of shared gradle logic into script plugins.
Prior to this commit, the `build.gradle` for each individual
project contained copy-pasted logic for configuring Android
and protobuf. Some of them were even using slightly different
versions of the same dependencies.

With this commit, there are two new gradle scripts that encapsulate
this shared logic:

* ./build-scripts/component-common.gradle, for basic Android
  and Kotlin setup.
* ./build-scripts/protobuf-common.gradle, for configuration specific
  to the protobuf plugin.

Hopefully this will make the logic easier to maintain going forward.
2021-07-20 13:56:15 +10:00
Ryan Kelly b6039ff74c Add script for running `cargo` from inside XCode.
Directly executing `cargo` from inside of an XCode build doesn't
seem to work quite right, e.g. on Big Sur it isn't able to properly
build any `build.rs` due to problems with library paths in the linker

This copies the same technique that we already use for running `cargo`
to build a universal binary, but as a re-useable cargo wrapper rather
than a specific command.
2021-06-01 14:55:29 +10:00
Thom Chiovoloni 6bea434010 Rename `master` to `main` in many places 2020-06-29 08:43:33 -07:00
Edouard Oger 8ed1e557f1
Add error message to iOS build script 2020-04-14 10:38:51 -04:00
Ryan Kelly fe1f0b0468
chore(build): Simplify version range used for autopublish workflow
This simpler version range seems to have the safe effect as the
current one, is easier to understand, and aligns with what a-c
is moving to.
2020-03-18 10:22:40 +11:00
Ryan Kelly 0e31668247
Add support and docs for an auto-publish based local dev workflow.
Our docs currently recommend two ways of building consuming apps against
local changes to this repo: an automated-but-perpetually-buggy composite build
workflow, and a reliable-but-tedious manual workflow of publishing to a local
maven repo.

This commit removes them both and replaces them with something similar to
the workflow used by android-components: some scripting to automate publishing
to and consuming from a local maven repo.
2020-03-12 15:05:21 +11:00
Edouard Oger d11fd04a2b
Use default bash login PATH 2019-10-30 16:03:15 -04:00
Edouard Oger 62a544674e
Use vendored OpenSSL with reqwest 2019-08-14 14:29:19 -04:00
Edouard Oger 3c8780a42e
Use double square brackets in bash scripts 2019-07-24 15:55:31 -04:00
Edouard Oger e6a5425c66
Allow nss_sys to link against NSS/NSPR dynamically. 2019-07-18 12:05:08 -04:00
Edouard Oger 270b0ea2a0
rc_crypto initial commit (#1349) 2019-07-09 14:00:48 -04:00
Edouard Oger 8959755ff2
Lint bash scripts with shellcheck 2019-05-29 19:25:41 -04:00
Edouard Oger 630c2b5745
Assign default empty values for unbound variables 2019-04-26 11:58:47 -04:00
Edouard Oger 01f80ad1db
Use sccache on CircleCI 2019-04-26 11:41:46 -04:00
Edouard Oger 817711ff55
Use curly braces around bash variables consistently 2019-04-11 17:33:03 -04:00
Edouard Oger 7ec1742500
NSS crypto backend for SHA-256 digest 2019-04-11 17:33:03 -04:00
Ryan Kelly e7532c59eb
feat(deps): Add docs and CI checks for dependency management. 2019-04-02 09:17:16 +11:00
Thom Chiovoloni 53b368cb1c Don't build iOS as release by default 2019-03-18 09:29:10 -07:00