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

37 Коммитов

Автор SHA1 Сообщение Дата
grembo e55ed8819c
Fix remaining freebsd-ci problems (#1556)
* Fix remaining freebsd-ci problems

* Clarify signal handling code
2023-01-12 19:02:24 +01:00
grembo a47fafc77d
Fix freebsd CI build (#1531)
* Fix freebsd CI build

This works around a bug in pot 0.15.4

Fixes #1529

* freebsd-ci: Add ca_root_nss package explicitly

+ It has been removed from curl as a dependency.
2023-01-08 16:19:11 +01:00
grembo febb667fb6
Support FreeBSD as sccache-dist server (#1184)
* Support FreeBSD as sccache-dist server

FreeBSD support makes use of [pot](https://github.com/potbsd/pot)
for sandboxing.

Implementation was done to be minimally invasive, almost all
FreeBSD specific parts happen in segregated files.

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2022-12-15 14:11:15 +01:00
Your Name 831749901e Remove bash dependency in test scripts 2022-12-08 10:10:57 +01:00
Mike Hommey 64ed0c1267 Move remainder of the CI to Github Actions
This includes:
- Building in release mode for all release platforms on all PRs and
  merges/pushes.
- Publishing release assets on tags.

The extra benefit here is that the release assets are not pushed unless
all builds are successful, which was not the case before, leading to
0.2.13 without Windows binaries. We also make it necessary for all tests
and lints to pass.

Another benefit is that builds now have artifacts published, allowing
to download them for some period of time after they were produced on
a PR or on master.

The setup for musl-based builds suffers on arm64 from not being able to
build natively (per lack of arm64 runners), and from Ubuntu not having
musl-cross packages, so it requires a little manual (hackish)
cross-compilation work.

The Linux builds can safely be done on a newer version of the base
system as we are using the musl runtime, and compile openssl statically,
preventing any dependency on symbols from too new systems, ensuring
binary compatibility with older systems.

The macOS builds were done against Xcode 9.4 (the default on Travis),
which targets macOS 10.13. The 10.13 SDK is not available on Github
Actions, but we can set the deployment target to that value while using
the 10.14 SDK from Xcode 10.3 for binary compatibility. In theory, we
should be able to use an even newer Xcode/SDK, but I'd rather not risk
it at this point.

The Windows builds should have no binary compatibility issues.
2021-01-06 07:58:24 +09:00
Mike Hommey c4a3069eab Add a separate deployment build for the sccache-dist server 2020-12-11 15:38:09 +09:00
Mike Hommey 0fc63d6d71 Build with vendored openssl on CI 2020-12-10 10:37:27 +09:00
Jake Shadle 12008f60bc Fix checksum files 2019-02-11 08:24:08 -05:00
Jake Shadle 1fa0c14508 [ci] Actually generate chksum file 2019-02-08 11:25:57 -05:00
Jake Shadle 7965bc5402 [ci] Add a .sha256 release artifact for linux/osx 2019-02-08 11:25:57 -05:00
Jake Shadle 9035d2f9f9 [ci] Move prep deploy into script 2019-02-08 11:25:57 -05:00
Aidan Hobson Sayers f6ad408ef9 Add tests, remove unwraps, fix bugs, auto https 2018-11-21 16:49:14 -05:00
Ted Mielczarek fc441dfd39 Remove some no-longer-useful scripts 2018-02-01 10:20:35 -05:00
Ted Mielczarek e5ca772717 try fixing i686-musl one more time... 2018-01-12 10:29:26 -05:00
Ted Mielczarek a0abb59f69 a little *too* verbose there 2018-01-12 09:27:24 -05:00
Ted Mielczarek e559fb724a build travis releases with --features=all, add an i686 linux release build 2018-01-12 09:21:40 -05:00
Ted Mielczarek 7619bd0129 fix update-gecko-manifests script to catch more manifests 2017-06-15 10:16:53 -04:00
Ted Mielczarek 832cc5afac update vendored tooltool.py and update-gecko-manifests.py to match manifest formatting used in gecko now 2017-04-12 06:36:53 -04:00
Ted Mielczarek bb0f17a5cd tweak build-release to not use nightly rust on Windows anymore, etc 2017-04-06 09:06:56 -04:00
Ted Mielczarek bbb8502454 switch back to upstream rust-musl-builder for build-release 2017-03-31 10:23:34 -04:00
Felix Obenhuber 6ad7c8333f Remove line break in release script
With 2349791 a line break in the release script is introduced that breaks
it. This patch removes that one.
2017-03-28 06:42:34 -04:00
Felix Obenhuber 2349791192 Use Cargo features for S3 and Redis caches
The S3 and Redis caches are optional during build time.
Enable feature "s3" and/or "redis" to build sccache with
support for those backends. Only the local disk cache
is available by default. The "all" feature enables both.
This patch is changing the current default behavior that
always has S3 support.
2017-03-27 12:37:25 -07:00
Ted Mielczarek bfa0d2a85b tweak build-release for windows 2017-01-27 11:45:55 -05:00
Ted Mielczarek b21198a718 Put sccache rev in tooltool manifests 2016-11-21 07:09:01 -05:00
Ted Mielczarek 9d6b73e2a6 tweak build-release script to share cargo caches 2016-10-27 10:52:26 -04:00
Ted Mielczarek 11f3a2ac47 tweak update-gecko-manifests.py 2016-10-26 15:51:59 -04:00
Ted Mielczarek 2e4f661993 stop packaging openssl dlls on windows 2016-10-26 14:02:15 -04:00
Ted Mielczarek 65c0c98781 handle msys2 in build-release.sh 2016-10-26 13:12:06 -04:00
Ted Mielczarek b916bfff1a use GNU parallel in upload-tooltool.sh if available 2016-08-25 15:56:03 -04:00
Ted Mielczarek 82ff999481 change docker image for building release 2016-08-12 21:17:19 -04:00
Ted Mielczarek 4bd0b8134e tweak build-release 2016-07-29 12:42:02 -04:00
Ted Mielczarek 43562733e3 statically link openssl on osx release builds 2016-07-28 07:00:19 -04:00
Ted Mielczarek b7a6a11de8 set MACOSX_DEPLOYMENT_TARGET for osx release builds 2016-07-28 06:18:17 -04:00
Ted Mielczarek c573bf896c fix update-gecko-manifests to update the right manifests 2016-07-27 10:15:04 -04:00
Ted Mielczarek ece0aee662 add script to update in-tree tooltool manifests 2016-07-26 08:55:22 -04:00
Ted Mielczarek 9700ef0097 fixup release scripts to use bz2 on non-Linux 2016-07-25 06:48:01 -04:00
Ted Mielczarek 0535bf5149 Add a script to build release tarballs and one to upload them to tooltool 2016-07-14 15:24:48 -04:00