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

57 Коммитов

Автор SHA1 Сообщение Дата
Jan-Erik Rediger d8ff4b0559
Rename from iOS to macOS for build that produces macOS dylib (#405)
Rename from iOS to macOS for build that produces macOS dylib
2019-10-24 13:24:18 +02:00
Jan-Erik Rediger c858f5cfba Bundle all released files into a single zip file 2019-10-23 10:34:18 +02:00
Jan-Erik Rediger e1fb5bb8fc Rename from iOS to macOS for build that produces macOS dylib 2019-10-23 10:10:45 +02:00
Jan-Erik Rediger 152a09ab04 Store Gradle test results in CI 2019-10-22 14:48:03 +02:00
Jan-Erik Rediger 575938a1fa Build macOS library on macOS, then copy it over for packaging
This ... is a bit hacky in that it needs to stop cargo/rust from
invoking the linker on Linux, which will fail. But if the "linker" just
doesn't do anything, the old file will remain and it will happily use it
in the packaging step.
2019-10-08 16:02:11 +02:00
Jan-Erik Rediger c2d88237b8 Build for Windows
This creates a glean_ffi.dll for inclusion in the `forUnitTests` target,
that can then be used in unit tests on Windows machines.
2019-10-07 14:31:53 +02:00
Jan-Erik Rediger a1006d27f7 Use a fixed release of ghr and verify its checksum 2019-10-07 11:33:58 +02:00
Jan-Erik Rediger 8d78a3e5f6 Collect all files first into a single directory
This will get both the normal release and any `forUnitTests` package and
releases them all.`
2019-10-07 11:33:28 +02:00
Jan-Erik Rediger c93293cbe7 Assemble, publish and check before an actual release 2019-10-07 11:33:24 +02:00
Jan-Erik Rediger f59938dd2d Use fixed version of grcov (and fix arguments)
[doc only]
2019-10-07 11:06:51 +02:00
Jan-Erik Rediger aa8fff4e3b Publish the maven artifacts to GitHub 2019-10-03 10:16:12 +02:00
Jan-Erik Rediger 5089516ee5 Upload Swift code coverage
[doc only]
2019-10-02 12:42:50 +02:00
Jan-Erik Rediger b83d98e02a Store raw build log
[doc only]
2019-10-01 17:03:14 +02:00
Jan-Erik Rediger 40a83a5a20 Build docs right after running tests
[doc only]
2019-09-30 15:49:23 +02:00
Jan-Erik Rediger f7e86c4752 Let's update the cache
[doc only]
2019-09-30 15:16:48 +02:00
Jan-Erik Rediger 613f8930bd Build and deploy documentation as part of the CI workflow
The Swift docs require a build to pick up docs.
In order for the docs deploy step to depend on that it needs to be in
the same workflow.

[doc only]
2019-09-30 15:07:49 +02:00
Jan-Erik Rediger cbfedf582c Build Swift documentation on CI
[doc only]
2019-09-30 10:17:45 +02:00
Jan-Erik Rediger a39be3f651 Move Cartfile out of the way
When tests are run this file gets copied to 'Cartfile'
Having a Cartfile and pulling this project from another project using carthage, will
cause any Cartfile here to be run, and there is currently a carthage bug
whereby pulling OHHTTPStubs reports a circular dependancy error (incorrectly).
2019-09-27 12:19:59 +02:00
Jan-Erik Rediger ac292e560b Move Cartfile to the top-level
When Glean gets included in another project's Cartfile, it seems
carthage will only look at a top-level Cartfile and thus miss the
dependency on OHHTTPStubs.
Moving it to our top-level and adjusting all the compile paths fixes it
and makes the sample app build
2019-09-19 17:19:21 +02:00
Jan-Erik Rediger d69a96eaee Retry codecov upload 2 times in case of failures
codecov upload occasionally fails due to network issues.
Most of the time this is solved by rerunning the task again.
Instead of that, let's just try 3 times total.

[doc only]
2019-09-13 12:04:07 +02:00
Jan-Erik Rediger 859aead24c Add CI check for GleanFfi.h consistency
[doc only]
2019-09-13 11:19:25 +02:00
Travis Long 2efd365a77 1579888 - Add HttpPingUploader
- Add Cartfile for carthage and import OHHTTPStubs for test server
- Use OHHTTPSStubs to test server responses
- Enable carthage in CI
- Disabled redundantSelf swiftformat rule
2019-09-11 09:27:05 -05:00
Jan-Erik Rediger 35685ef9c6 Enable iOS linting, formatting, building & tests on CI 2019-09-11 11:05:16 +02:00
Jan-Erik Rediger 6172644133 Use bigger machine for MSRV as well 2019-08-26 12:18:21 -07:00
Jan-Erik Rediger 39e09c7855 Use a container with more memory available on CI 2019-08-22 09:26:07 -07:00
Jan-Erik Rediger ab38f11548 Disable beta builds
They are currently mostly failing due to out of memory issues.
Disabling to not waste resources.
We will re-enable them once we figure out what's going on.
2019-08-16 10:38:08 +02:00
Jan-Erik Rediger a07b8198b9 HACK: Fix up missing libtinfo.so.5
The Debian container in use is shipping libtinfo.so.6, but the Clang deployed in the NDK requires v5.
We hack around that by symlinking the new to the old version, they seem to be mostly compatible.
2019-08-16 10:19:20 +02:00
Jan-Erik Rediger 1a59963dcf Ignore Rust FFI component in coverage report
It's tested by usage through the Kotlin wrapper, not by itself.
2019-08-09 09:26:42 +02:00
Jan-Erik Rediger 3558bf8b9e Skip Rust code coverage on doc only changes 2019-08-08 13:04:24 +02:00
Jan-Erik Rediger a24108506d Upload Kotlin code coverage 2019-08-08 12:20:35 +02:00
Jan-Erik Rediger fe2d0012b3 Collect & upload code coverage for Rust code 2019-08-08 12:20:04 +02:00
Jan-Erik Rediger e1e4536c3e Run the default linter on CI 2019-08-05 15:23:55 +02:00
Jan-Erik Rediger e78bf469fe Build on and document minimal tested Rust version 2019-07-31 17:57:15 +02:00
Jan-Erik Rediger faba9cb186 Don't run tests with all or no features, we don't have any to begin with
This doesn't really save much CI time either (because no recompilation
happens), but it's just 2 more runs every time which we don't need (now).
2019-07-31 12:01:35 +02:00
Jan-Erik Rediger 10fa233663 Skip Android tests if commit contains marker
For doc-only changes we might not require the full CI run.
The Android tests are what's taking the longest, so let's make this
easily skippable.

[doc only]
2019-07-17 16:28:41 +02:00
Jan-Erik Rediger f9e795d3a7 Make Gradle adhere to a strict 2GB heap limit 2019-07-09 17:37:08 +02:00
Jan-Erik Rediger 3b982b3b59 Don't use the gradle daemon in CI 2019-07-04 13:24:51 +02:00
Jan-Erik Rediger 62ebb65615 Switch to released version of mdbook
This includes the fixes we depend on.
2019-06-19 17:03:16 -04:00
Michael Droettboom a52235d168
1557728: Store Android test artifacts (#139) 2019-06-12 11:01:20 -04:00
Michael Droettboom 25b97d6ccf
1555975: Move markdown docs from glean-ac to glean-core (#113)
* 1555975: Move markdown docs from glean-ac to glean-core

* Don't use makefile for linkcheck

* Address comments in the PR

* Use semantic line endings

* More private functions

* Fix a couple more links
2019-06-05 08:02:12 -04:00
Michael Droettboom ad30c9f7f2
Fix Kotlin doc deploy (#110) 2019-05-30 14:35:26 -04:00
Michael Droettboom 20170b4820
Revert "Fix Kotlin doc deployment (#108)" (#109)
This reverts commit 98cadefe62.
2019-05-30 12:45:29 -04:00
Michael Droettboom 98cadefe62
Fix Kotlin doc deployment (#108)
* Add Kotlin docs to CI

* Try to fix doc deployment
2019-05-30 12:19:31 -04:00
Michael Droettboom b5c24899bd
Add Kotlin docs to CI (#101) 2019-05-30 10:49:05 -04:00
Michael Droettboom 6673bdfd6d
Reinstate deep JSON inspection of labeled metric tests (#106)
* Reinstate deep JSON inspection of labeled metric tests

* Rename collect -> testCollect
2019-05-29 11:37:36 -04:00
Michael Droettboom 2d6995a03d
1551153: Enable the ping uploader in glean-core (#60)
* Bring in uploading-related files from glean-ac

* 1551153: Enable the ping uploader in glean-core

* Address feedback in the PR
2019-05-15 10:39:41 -04:00
Michael Droettboom 06a0357788 Use Android 27 docker image 2019-05-14 17:35:30 -04:00
Michael Droettboom d0c6572391
1551258: Fix Kotlin linting and enable on CI (#59) 2019-05-14 10:54:33 -04:00
Jan-Erik Rediger 2b8d38dd42 Enable parallel testing on CI
Now that we've removed the singletons, this works

Fixes #33
2019-05-13 16:34:19 +02:00
Jan-Erik Rediger 106dd6a73b Install mdbook from released binary
This should speed up documentation generation by a bit.
2019-05-10 11:11:08 +02:00