Commit Graph
260 Commits
Author SHA1 Message Date
dependabot[bot] c2e0395fac build(deps): bump actions/upload-pages-artifact from 1 to 2
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 2.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-16 20:34:16 -07:00
Wez Furlong f73f718098 Revert "ci: don't use release mode for tests"
This reverts commit cc567ab464.

It didn't improve anything and seems to have broken the windows CI.
2023-07-13 08:14:19 -07:00
Wez Furlong 719a513d0b ci: add debian 12
refs: https://github.com/wez/wezterm/issues/3973
2023-07-12 12:02:47 -07:00
Wez Furlong cc567ab464 ci: don't use release mode for tests
The original thinking was that it would be quicker to reuse
the existing release mode deps, but I'm not sure if that is
still true, so let's test it to see.

At the time of writing, the test phase takes 8-12 minutes depending
on the OS, with most of that being compilation.
2023-07-12 08:35:14 -07:00
Wez Furlong 69bb69b9ca ci: disable termwiz fuzz job 2023-07-05 06:50:14 -07:00
Wez Furlong 2d6e200832 ci: another run at termwiz/fuzz stuff 2023-07-05 06:39:25 -07:00
Wez Furlong 9459f64cce avoid nightly rust for cargo fuzz
An older version of proc-macro2 used by many crates doesn't compile
on nightly rust any more.  It doesn't look like we need nightly
rust for cargo-fuzz any more, so try using stable rust instead.
2023-07-03 13:23:44 -07:00
Wez Furlong 05a2d63398 ci: remove alpine
per discussion on https://github.com/wez/wezterm/pull/3089 we don't
need to build for alpine any longer.
2023-05-27 14:10:07 -07:00
Wez Furlong 61470c9912 ci: update cache to v3 2023-05-08 10:59:31 -07:00
Wez Furlong af2df3e8f3 ci: rm fedora 35, add fedora 38 2023-04-19 21:51:17 -07:00
Wez Furlong 204049b83e ci: update cargo-install
closes: https://github.com/wez/wezterm/pull/3377
2023-03-26 19:47:48 -07:00
Wez Furlong b99ecead8b ci: automate making PR for flathub at release time 2023-03-26 06:42:04 -07:00
Jalil Salamé 64b8749eb3 ci: Use nextest (#3342)
* ci: Use cargo-nextest to improve testing times

* chore: Regenerate workflows

* chore: Use nextest in non generated workflows

* fix(nextest): No fail fast

* fix: Caching of nextest ignores conatiner

* chore: Regenerate workflows

* fix(ci): Wrong input to cargo-install action

* fix: Merge conflicts

* fix(flaky-tests): Try updating OpenSUSE Leap to 15.4
2023-03-24 21:11:22 -07:00
Jalil SalaméandWez Furlong 66b29c88e0 ci: Use rust-cache instead of the general cache action (#3341)
* feat: Cache Rust artifacts using Swatinem/rust-cache@v2

* chore: Generate workflows

* chore: Modify non generated workflows

* fix: Add caching to workflows that were missing it

* fix: Merge conflicts

* fix(ci): No need to hash files ourselves

* chore: Regenerate workflows

* fix: Only cache workspace (other changes don't invalidate cache)

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-03-24 17:54:36 -07:00
Jalil David Salamé Messina 51e87e8df5 fix(ci): Use install action instead of manually calling cargo-install 2023-03-24 17:50:30 -07:00
Jalil Salamé 1535d88290 Ci toolchain: Do not use actions-rs/toolchain (#3327)
* fix(generate-workflows): Do not use actions-rs

[actions-rs/toolchain](https://github.com/actions-rs/toolchain) is unsupported:

- Has not recieved updates since November 2020 (~2.5 years)
- It uses Node.js 12 and GitHub will stop supporting it Summer this year(?) see
  this [article](https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/).

[dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) is
actively supported and its mostly a 1-1 replacement, the differences are:

- Uses the minimal profile always, so no need to specify it.
- There is no need to override the toolchain.

I also removed some things:

- None of the generated actions use `rustfmt` so I removed the component
- The toolchain is always stable, so I specified it in the action itself
  instead of in the action parameters.

* ci: Regenerate workflows

* fix: Remove ALLOW_UNSECURE_COMMANDS from action

* fix(CentOS7): Manually install rustup as CentOS7 uses a very old curl

* fix: Restart shell so that the rustup command is available

* feat: Add exeption to the CentOS workflow to download rustup

* fix: Remove actions-rs/toolchain from remaining workflows

* fix: Address review comment
2023-03-24 10:16:09 -07:00
Jalil David Salamé Messina 1116c14cd5 chore: Regenerate workflows 2023-03-24 07:03:22 -07:00
Wez Furlong 00ada33fe2 ci: persuade zypper to install deps in get-deps 2023-03-21 20:01:57 -07:00
Wez Furlong a0ec2c18b4 ci: remove some builds
GH actions has been awful slow and bogged down recently,
getting in the way of work that is more important.

This commit removes a variety of alpine builds (which are
not widely used by wezterm users), and the eldest fedora
version to free up some resources.
2023-03-19 22:47:46 -07:00
dependabot[bot] dcbc2bf2bc build(deps): bump actions/deploy-pages from 1 to 2
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 1 to 2.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-19 20:18:53 -07:00
Wez Furlong 6237668a14 pages: run only one at a time, allow them to queue up 2023-03-16 21:23:16 -07:00
Wez Furlong a22e6fa1ab fix trigger paths! 2023-03-16 00:05:00 -07:00
Wez Furlong 4f48f03ab9 revise fmt workflow triggers 2023-03-15 23:43:32 -07:00
Wez Furlong 46913b7822 ci: adjust wezterm-ssh triggers 2023-03-15 23:43:32 -07:00
Wez Furlong 914ad42743 revise verify-pages triggers and workflow 2023-03-15 23:43:28 -07:00
Wez Furlong cf74e7f501 ci: adjust termwiz workflow path triggers 2023-03-15 23:26:32 -07:00
Wez Furlong 7b2330ead2 ci: workflow should run when its file is changed 2023-03-15 21:34:33 -07:00
Wez Furlong 532d9e6e85 ci: adjust path triggers 2023-03-15 21:31:46 -07:00
Wez Furlong 4770b38737 docs: switch doc build to Material for MkDocs
It's a more mature and actively developed toolset for
technical writing, and looks nicer.
2023-03-15 19:22:51 -07:00
Wez Furlong fecf3bb60b docs: add mdbook-admonish 2023-02-25 18:19:47 -07:00
Wez Furlong 494fab09ba ci: docs: deploy directly, rather than via gh_pages branch 2023-02-25 17:49:57 -07:00
Wez Furlong 0b7d222240 ci: try harder for app image build 2023-02-17 12:13:42 -07:00
Wez Furlong 0bcbdc1baa ci: maybe fix appimage build 2023-02-17 11:33:35 -07:00
Wez Furlong a5c2b1f3ad ci: generate appimage from ubuntu20
We were doing this from 18, but with 18 on its way out on GH actions,
bump it up.
2023-02-12 10:31:06 -07:00
Wez Furlong fc27defd25 ci: remove ubuntu 18
refs: https://github.com/actions/runner-images/issues/6002
2023-02-07 09:48:33 -07:00
Wez Furlong fcd7c305bb ci: reduce frequency of thread locking
now the backlog is done, just run this once per day
2023-02-05 07:10:40 -07:00
Wez Furlong 5532ae245a workflows: add auto-locking of inactive closed issues
Encourage people to file new issues so that we can track and
communicate more effectively on their current issues.
2023-02-03 08:45:17 -07:00
Wez Furlong dd28dbae0a ci: unpin rust and mdbook versions in pages workflow 2023-01-23 19:06:35 -07:00
azzamsa b74cd91789 docs: use new gelatyx file-list option 2023-01-23 17:54:48 -08:00
Wez Furlong 2b1f152e90 ci: try a bit harder to make doc builds work on PRs
refs: https://github.com/wez/wezterm/pull/2969
2023-01-23 10:58:03 -07:00
Wez Furlong ca7024aee3 ci: try harder to successfully build the docs on PRs 2023-01-21 06:38:38 -07:00
Manpreet Singh 67896f67f5 Add Fedora 37 nightly builds 2023-01-02 15:51:14 -08:00
Wez Furlong 7c88674413 ci: another pass at tumbleweed 2022-12-31 23:44:04 -07:00
Wez Furlong 7b6aad6884 ci: make fix tumbleweed build 2022-12-31 22:38:59 -07:00
Wez Furlong 8b05fdba84 ci: apparently GH_TOKEN is what it really should be 2022-12-27 10:10:49 -07:00
Wez Furlong 295e0c444f ci: potentially fixup flakey pages build
It has been failing sporadically due to GH API rate limiting.
Use the gh CLI if available, to pick up our access token.
2022-12-22 10:54:17 -07:00
Wez Furlong 287a633a98 ci: maybe fix suse CI
looks like lsb-release is no longer a valid package in suse
2022-10-21 21:47:09 -07:00
Wez Furlong 478109de07 ci: try harder to pin rust version for mdbook breakage 2022-10-01 07:12:23 -07:00
Wez Furlong f0e18129e9 ci: I hate yaml 2022-10-01 06:34:49 -07:00
Wez Furlong c041cef03e ci: take another crack at dealing with mdbook breakage
refs: https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/73
refs: https://github.com/rust-lang/mdBook/issues/1860
refs: https://github.com/badboy/mdbook-mermaid/pull/23
2022-10-01 06:31:35 -07:00