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

321 Коммитов

Автор SHA1 Сообщение Дата
Jan-Erik Rediger 361d456102 Upgrade to Xcode 14.0.0
CircleCI announcement: https://discuss.circleci.com/t/xcode-14-rc-released/45334
Full software list: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v8770/index.html
2022-10-11 03:16:04 -10:00
Alessio Placitelli c21f4e74c6 Use the latest available r25 version (25.1.8937393)
The 25.0.8775105 is not available for download anymore.
2022-09-19 15:03:55 +02:00
Jan-Erik Rediger 868da2afab Revert "RLB: Ignore two tests by default, run them on CI."
This reverts commit 01b1770a3b.
2022-08-24 18:52:40 +02:00
Jan-Erik Rediger 01b1770a3b RLB: Ignore two tests by default, run them on CI.
These tests cause test timeouts on TaskCluster with Rust Beta.
We don't know yet why, they run fine on CircleCI/Rust Stable.

We ignore them for the time being, but explicitly run them on CI.
2022-08-23 11:05:19 +02:00
Jan-Erik Rediger d2530de32f Kotlin: Upgrade to NDK r25
This reverts commit dee4e7ab39.
2022-08-18 12:20:32 +02:00
Jan-Erik Rediger dee4e7ab39 Go back to NDK 21
This is a partial revert of 796716c
Rust's libstd is built against a lower NDK.
Newer NDKs have replaced libgcc with libunwind. This breaks the built
now (see https://github.com/rust-lang/rust/pull/85806).
Additionally some tooling changed so now the rust-android-gradle plugin breaks.
For now we drop back to the old NDK until we invest time to do a proper
upgrade.
2022-08-11 14:00:53 +02:00
Jan-Erik Rediger 796716c7ab Upgrade to Android API level 32, upgraded tools and upgraded ndk 2022-08-11 12:04:19 +02:00
Jan-Erik Rediger 425ed2d1c7 Python: Verbose logging of tests on CI 2022-08-03 16:13:04 +02:00
Jan-Erik Rediger a8a418a158 Remove rkv safe-mode toggle. It's default enabled now.
This effectively enables safe-mode everywhere, forcing migration from
LDMB to safe-mode in clients.
Note:
The iOS build was one of the last ones that really used LMDB mode.
Standalone Android builds also uses LMDB mode.
Other Android builds are shipped through GeckoView, where safe-mode was already
enabled.
2022-07-20 12:26:13 +02:00
Jan-Erik Rediger 8bbb2fbcc2 Raise minimum supported Rust version to 1.58.0 2022-07-14 12:12:16 +02:00
Jan-Erik Rediger 3543395760 Implement a glean-build crate for use in Rust consumers
This crate should be used as a build dependency in Rust consumers.
In their `build.rs` they can call the builder to auto-generate code from
`metrics.yaml` and `pings.yaml` definitions:

    glean_build::Builder::default()
        .metrics("metrics.yaml")
        .pings("pings.yaml")
        .generate()
        .expect("Error generating Glean Rust bindings");

This requires a working Python3 & pip installation.
Windows untested.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1713573 and https://bugzilla.mozilla.org/show_bug.cgi?id=1772566
2022-07-13 16:13:41 +02:00
Jan-Erik Rediger 689964aa00 Run up to 6 jobs to avoid memory exhaustion
Recent Rust/Cargo changed detection of available cores,
which is probably the cause of earlier CPU/memory exhaustion kills.
By manually limiting it to 6 jobs we stay within the limits, while
keeping about the same runtime.

Upstream bug: https://github.com/rust-lang/rust/issues/97549
2022-06-13 11:13:13 +02:00
Jan-Erik Rediger e569b1e298 CI: Use Rust 1.61.0 everywhere 2022-06-13 11:13:13 +02:00
Jan-Erik Rediger 307325254b Use Swift packages for direct dependencies and drop Carthage
Only 2 dependencies left:
* Testing only: OHHTTPStubs for network mocking
* GzipSwift: for TestUtils to decode gzip'ed payloads

Both are available as Swift packages, so we can consume them that way.
2022-06-13 11:12:26 +02:00
Jan-Erik Rediger 7f5039f3e2 Use Swift packages of dependencies in sample apps and a direct xcframework for Glean
This gets us one step closer to dropping Carthage and all it entails.
2022-06-13 11:12:26 +02:00
Jan-Erik Rediger b033df9a1d One less typo 2022-05-30 11:41:56 +02:00
Jan-Erik Rediger 844a25a0af CI: Update to newer Python 3.8 images for newer Ubuntu, which has a newer wine 2022-05-25 17:38:23 +02:00
Jan-Erik Rediger ab7a343581 Don't publish glean-ffi. It's gone.
[doc only]
2022-05-20 14:22:37 +02:00
Jan-Erik Rediger 29a9f5ba14 CI: Run Rust tests on 1.60.0
1.61.0, released yesterday (2022-05-19) seems to lead to memory
exhaustion on CircleCI.
Let's go back to 1.60 for now.
2022-05-20 11:51:00 +02:00
Jan-Erik Rediger ea9e8e42d8 CI: Remove usage of git cli from cargo 2022-05-18 11:54:09 +02:00
Jan-Erik Rediger ebefa8afcb CI: Do not install uniffi-bindgen anymore
This is now supplied by the internal embedded-uniffi-bindgen crate
2022-05-06 14:11:27 +02:00
Jan-Erik Rediger 058a973ca2 Upgrade to UniFFI v0.18.0 2022-05-06 13:34:51 +02:00
Jan-Erik Rediger 5a0f453b27 Merge branch 'main' into uniffi 2022-05-04 12:24:49 +02:00
Jan-Erik Rediger 21673a8abf Raise minimum supported Rust version to 1.57.0 2022-04-29 17:12:37 +02:00
Jan-Erik Rediger 43d11889b4 [CI] Generate required bindgen'd code for Python 2022-04-29 17:12:37 +02:00
Jan-Erik Rediger bdc30e8b0a CI: No need to install Android Rust targets
We only build for Linux for linting and testing anyway
2022-04-22 11:20:23 +02:00
Jan-Erik Rediger 36aa13d86e CI: Migrate away from CircleCI legacy convenience images
See https://discuss.circleci.com/t/legacy-convenience-image-deprecation for details
2022-04-22 11:20:23 +02:00
Jan-Erik Rediger d082520d9e CI: Use git CLI for license check as well 2022-04-14 15:36:00 +02:00
Jan-Erik Rediger 56b6d1a404 CI: Set the variable correctly 2022-04-14 15:36:00 +02:00
Jan-Erik Rediger edef56b343 CI: Use upstream UniFFI (and rely on git cli) 2022-04-14 15:00:10 +02:00
Jan-Erik Rediger 8ec875aa7c Merge branch 'main' into uniffi-merge-main 2022-04-05 14:39:31 +02:00
Jan-Erik Rediger b7b8c2f0cb CI: Specify uniffi-bindgen version 2022-03-16 17:27:09 +01:00
Jan-Erik Rediger 917f90a127 Install UniFFI from repo 2022-02-17 16:50:40 +01:00
Jan-Erik Rediger 42eb20f6fd Remove old FFI layer 2022-02-14 15:17:03 +01:00
Jan-Erik Rediger 4cffa5d0e9 Don't generate Carthage archive anymore 2022-02-01 14:17:54 +01:00
Jan-Erik Rediger a5b423e4d7 Update to mdbook-dtmo v0.10.0
mdbook-dtmo v0.10 updates the other mdbook-* dependencies, dropping some
annoying markdown roundtripping issues.
2022-01-26 10:37:24 +01:00
Jan-Erik Rediger a364296b18 Cache Carthage dependencies of sample build 2022-01-25 15:46:01 +01:00
Jan-Erik Rediger 06e009b613 Cache the _current_ ruby gems dir again 2022-01-17 12:40:51 +01:00
Jan-Erik Rediger 529d9df183 Use correct ghr version 2022-01-17 12:00:42 +01:00
Jan-Erik Rediger ff4aea545b Upgrade to Xcode 13.2.1
CircleCI announcement: https://discuss.circleci.com/t/xcode-13-2-1-released/42334
Full software list: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v6690/index.html
2022-01-11 10:01:11 +01:00
Jan-Erik Rediger f5846ab0e7 Upgrade tooling 2022-01-10 14:53:38 +01:00
Jan-Erik Rediger c8d09d795b Don't run the android setup if tests will be skipped anyway
[doc only]
2021-11-03 15:45:10 +01:00
Jan-Erik Rediger 32b7b73cfc Use ios-sim target on Rust stable 2021-10-21 17:44:43 +02:00
Jan-Erik Rediger 696c33003c Use make task in CircleCI
That allows to change only one place instead of two.
2021-10-20 13:25:13 +02:00
Jan-Erik Rediger 79aba32d8e Install uniffi_bindgen on CI
This means CI will take quite a bit longer.
We should get uniffi to release pre-compiled binaries.
2021-10-11 13:26:26 +02:00
Michael Droettboom 812388ebc5
Support Python 3.10 (#1818)
* Support Python 3.10

This also uses the "next gen" Python Docker images from CircleCI.

Also removes some `persist_to_workspace` that is no longer needed.

* Fix YAML syntax

* Don't use sudo

* Use legacy Docker images for Windows tests

* Use next gen images for Windows

* Use wine-stable

* Remove comment
2021-10-07 17:23:08 -04:00
Jan-Erik Rediger a871f17ec1 CI: Use `xctrace` to get the right simulator ID
`instruments` was removed in Xcode 13, so we need to use another way.
2021-10-01 10:01:33 +02:00
Jan-Erik Rediger 55a05158e3 CI: Ruby 2.7.4 is now already the default 2021-10-01 10:01:33 +02:00
Jan-Erik Rediger 966a9d22e5 Upgrade to Xcode 13.0.0
CircleCI announcement: https://discuss.circleci.com/t/xcode-13-rc-released/41256
Full software list: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v6052/index.html
2021-10-01 10:01:33 +02:00
Jan-Erik Rediger ba5b74e12c CI: Install Rust env when linting Kotlin
We need to have `rustc` around, because glean-native is a
dependency of the Glean Kotlin SDK and thus gets built before linting
can run.
2021-09-21 15:31:40 +02:00