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
Chris H-C
646ec6543e
Require rust >= 1.53.0
2021-09-13 10:08:40 -04:00
Jan-Erik Rediger
c59c914a56
Fix Glean sample app tests & build it on CI
...
This now uses the local server for testing, even though it doesn't send
a ping.
This is the same fix as mozilla-mobile/android-components 465b85378d32d9f921bab2b7650edcfd3cecc8f7.
This also unbreaks the test, applying the fixes done in 3ff81f0794
back in February.
And last but not least this now builds the sample app including its
tests on CI as well, to at least catch those mistakes early.
2021-08-12 10:41:06 +02:00
Jan-Erik Rediger
fc85a8d58d
Remove Kotlin API doc generator
...
The Dokka plugin we were using is outdated
and the new one works slightly differently.
For now we're simply avoiding that work and remove the API docs for
Kotlin.
2021-08-10 17:15:13 +02:00
Jan-Erik Rediger
3e814a2169
CI: Manually install NDK
2021-08-10 15:58:47 +02:00
Jan-Erik Rediger
d41ea309a0
Use the new ios-sim target on Nightly
2021-08-04 09:13:37 +02:00
Jan-Erik Rediger
7f6be0ba55
Update cbindgen & explicitly name config & crate
2021-07-29 14:36:58 +02:00
Jan-Erik Rediger
7cad9b114e
Use latest Python+Alpine image again
...
CircleCI upgraded their Docker in use.
See https://discuss.circleci.com/t/unable-to-use-make/40552/4
2021-07-09 10:08:56 +02:00
Jan-Erik Rediger
6473941523
Use mdbook-dtmo 0.9.0 when generating the Glean book
...
[doc only]
2021-07-06 15:01:14 +02:00
Jan-Erik Rediger
9630f5cdc6
Downgrade to known-working version of Python/Alpine image
...
See upstream report: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396
And docs: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
2021-07-05 10:11:32 +02:00
Jan-Erik Rediger
df7e9806e1
Update to latest mdbook-dtmo
...
[doc only]
2021-06-14 09:52:35 +02:00
Jan-Erik Rediger
1bce72d35a
CI: Use MacOSX11 SDK (no subversion anymore with Xcode 12.5 for this)
2021-06-04 15:37:21 +02:00
Jan-Erik Rediger
34f13e94b5
CI: Checkout the Glean repo to get access to the shell script
2021-06-04 15:28:03 +02:00
Jan-Erik Rediger
f700c080aa
Upgrade to Xcode 12.5.0
...
CircleCI announcement: https://discuss.circleci.com/t/xcode-12-5-release/40265
Full Software list: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v5670/index.html
2021-06-04 14:15:11 +02:00
Jan-Erik Rediger
79f335fbcb
Publish a glean-swift release once the xcframework is uploaded
2021-06-04 14:15:11 +02:00
Jan-Erik Rediger
e6b8d1573e
Build xcframework on CI
2021-06-04 14:15:11 +02:00
Jan-Erik Rediger
4f8722aa35
CI: Don't force brew update
...
CircleCI rolled out a quickfix that does the `brew update` now,
and will soon update their machine to already contain an updated
homebrew.
Details: https://discuss.circleci.com/t/macos-image-users-homebrew-brownout-2021-04-26/39872/2
2021-05-07 15:04:25 +02:00
Jan-Erik Rediger
831ad8b906
CI: Use local copy of the codecov script
2021-04-15 15:18:32 +02:00
Jan-Erik Rediger
9e577e2586
CI: Update homebrew to avoid issues
...
Looks like CI failures are due to an outdated brew used in Circle CI
images.
See https://github.com/Homebrew/brew/issues/11123 for details.
2021-04-13 15:01:33 +02:00
Jan-Erik Rediger
7d46c6154f
Update to Xcode 12.4
...
We still require to update carthage though, as only 0.37.0 brings
xcframework support.
Supported software: https://circle-macos-docs.s3.amazonaws.com/image-manifest/v4519/index.html
2021-04-13 14:21:44 +02:00