Commit Graph
184 Commits
Author SHA1 Message Date
Wez Furlong 1cf0a76f3f deps: actions/cache -> v3
closes: https://github.com/wez/wezterm/pull/1782
2022-03-27 19:48:06 -07:00
Wez Furlong d5998ccb56 bump actions/checkout from 2.4 -> 3
closes: #1694
2022-03-09 07:32:40 -07:00
Wez Furlong 7089954049 ci: update for centos9 2022-02-01 22:19:45 -07:00
Wez Furlong 5c9ae7860f ci: centos9 has curl-minimal preinstalled which conflicts with curl
so just install curl-minimal
2022-02-01 14:34:21 -07:00
Wez Furlong 64d12d4500 ci: there is no powertools repo in centos9 2022-02-01 14:30:55 -07:00
Wez Furlong 5caab935ae ci: add centos9 2022-02-01 14:18:57 -07:00
Wez Furlong e409968fb1 ci: centos8 can be found on quay.io 2022-02-01 12:07:51 -07:00
Wez Furlong 35e97a5c78 centos 8: RIP
There's no obvious successor that I trust to build this on GH actions,
so remove it from CI.
2022-02-01 08:38:03 -07:00
Wez Furlong fb1350492c Revert "ci: migrate centos:8 images to stream"
This reverts commit 6fe60d56fd.

It didn't work out, and I'd rather it be broken the original way
than the other way :-p
2022-01-31 21:44:48 -07:00
Wez Furlong 6fe60d56fd ci: migrate centos:8 images to stream
The centos8 builds have been failing today, and it appears to
be because https://www.centos.org/centos-linux-eol/ happened
about 3 years early and the URLs in the image are hard-broken.

https://forums.centos.org/viewtopic.php?f=54&t=78708 has some
info on re-pointing them to a vault subdomain.

The "right" thing to do is to migrate to centos 8 stream, but
I don't see a centos stream docker image from centos.

This commit attempts the manual migration steps to stream.

Let's see how this goes.
2022-01-31 21:23:52 -07:00
dependabot[bot] 0ce029fdba build(deps): bump actions/checkout from 1 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 09:51:49 -08:00
Wez Furlong 01fe56fe57 ci: explicitly install rustfmt 2022-01-17 15:14:32 -07:00
Wez Furlong eb2b4fcce5 ci: use nightly toolchain for fmt workflow 2022-01-17 15:00:31 -07:00
Wez Furlong e4ed2c93e2 encoding my preferred import grouping in the rustfmt config
This uses an unstable option in rustfmt, you `cargo +nightly fmt`
needs to be used to format the code correctly.
2022-01-17 13:50:51 -07:00
Wez Furlong 11567c2097 ci: put fmt check into separate workflow 2022-01-16 19:07:47 -07:00
Chip Senkbeil e46e2bae80 Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently (#1544)
Add wezterm-ssh independent CI task to verify libssh-rs and ssh2 features can work independently
2022-01-13 18:48:33 -07:00
Wez Furlong f6e56aab10 ci: tidy up termwiz workflow 2022-01-12 07:19:44 -07:00
Wez Furlong 4452fbe798 ci: trigger termwiz build on push as well 2022-01-12 07:16:16 -07:00
Wez Furlong 475fc0667b fix termwiz compilation when widgets are enabled
refs: #1457
2022-01-12 07:14:14 -07:00
Wez Furlong fb8de1b5f3 Revert "ci: add centos 9"
This reverts commit fc069f9298.
Turns out centos 9 isn't a thing in docker (yet?)
2022-01-01 17:45:24 -07:00
Wez Furlong fc069f9298 ci: add centos 9 2022-01-01 17:43:44 -07:00
Wez Furlong 7edc5b5ab0 ci: urgh, try another way 2022-01-01 13:33:40 -07:00
Wez Furlong e11b9460ef ci: try alternative way of passing tag name 2022-01-01 13:10:08 -07:00
Wez Furlong c885e5a65b ci: just split into two for now
I'm not confident that the PR filter in the last commit will work,
so just split into two workflows for now.
2021-12-11 23:35:30 -07:00
Wez Furlong f72112f690 ci: trigger page build for doc changes 2021-12-11 23:30:36 -07:00
Wez Furlong 4143d254aa ci: tidy up separate uploader job
Enable it for tags/releases too, and remove some additional git fetches
and installation of the GH CLI inside containers that we no longer need.
2021-12-08 19:57:25 -07:00
Wez Furlong 20c9badfc8 ci: another pass at uploading, with the repo checked out 2021-12-08 11:19:00 -07:00
Wez Furlong 03c7986bb0 ci: bleh, do retry inline as part of upload 2021-12-08 10:31:56 -07:00
Wez Furlong eeefca0908 ci: add dependency from upload -> build job 2021-12-08 10:16:58 -07:00
Wez Furlong f89f9b5b31 ci: try uploading to tag outside of docker container 2021-12-08 10:14:08 -07:00
Wez Furlong d98a72f350 ci: also grab artifacts when building a tag 2021-12-06 19:41:10 -07:00
Wez Furlong 1c0298c54d ci: capture artifact before uploading to release
This should make it possible to write a script to grab artifacts
and stick them into the appropriate release if something flakes out.
2021-12-06 19:37:33 -07:00
Wez Furlong 2d99e6e816 ci: fixup upload globs for ubuntu 2021-12-06 13:14:16 -07:00
Wez Furlong d19a61ae9c ci: more fun with apt 2021-12-06 10:50:52 -07:00
Wez Furlong 6a310c4bd4 ci: ensure APT can use https sources 2021-12-06 10:40:51 -07:00
Wez Furlong 0882d2f546 ci: switch ubuntu20 back to a container
Something weird going on with the rust stuff
2021-12-06 10:37:54 -07:00
Wez Furlong c033160500 ci: try to debug the debian issue 2021-12-06 10:21:06 -07:00
Wez Furlong e1260b2337 ci: another stab at quoting for this GH key stuff
Objectively awful, but avoids a python dep on yaml
2021-12-06 10:12:25 -07:00
Wez Furlong aa200ae8aa ci: try alternate quoting for the GH key install 2021-12-06 10:05:29 -07:00
Wez Furlong 03f5a23939 ci: powertools enable only on centos 2021-12-06 09:59:21 -07:00
Wez Furlong 7df420dce0 ci: dnf requires -y in automation 2021-12-06 09:55:59 -07:00
Wez Furlong 4d5af41f91 ci: fix missing python f"" for "{sudo}" 2021-12-06 09:54:17 -07:00
Wez Furlong c942dbe02d ci: need curl installed before we can do the GH cli install on debian 2021-12-06 09:52:19 -07:00
Wez Furlong faec667ff9 ci: install config manager on fedora 2021-12-06 09:49:28 -07:00
Wez Furlong be1b54ba33 ci: try installing GH inside containers
`gh` is pre-installed in native runners only; when we build in a
container, we need to install it for ourselves.

This commit drops support for building on centos7 as it is a PITA
to get this working there.
2021-12-06 09:45:14 -07:00
Wez Furlong 1e8ebdadfd ci: switch to GH CLI for uploading to releases
I lost a few hours over the weekend because the GH release uploads
are flakey and the action I was using doesn't internally perform
retries.  I had to manually delete the failed uploads from the release
and then re-trigger the builds across several platforms, several times
for both of the releases I pushed this weekend :-/

This commit speculatively switches over to using the GH cli in the
hopes that the error reporting is better, and also because it is
simpler to externally drive a retry loop.

Let's see how this goes.
2021-12-06 09:14:15 -07:00
Wez Furlong 30fd56c35f ci: actions/cache -> 2.1.7 2021-11-28 19:10:08 -07:00
Wez Furlong f0f7110dfe ci: windows -> windows-latest
GH are deprecating the version we were using, so let's see if simply
upgrading to latest works out.
2021-11-23 06:57:48 -07:00
Wez Furlong f0f881af9d ci: use correct name for secret 2021-11-22 20:25:14 -07:00
Wez Furlong 06e35bbd52 ci: maybe enable codesigning on macos
refs: https://github.com/wez/wezterm/issues/482
2021-11-22 11:27:14 -07:00