1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-11 14:25:57 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Wez Furlong
b6cc0382cb
ci: update sccache action
closes: #5751
2024-06-24 06:54:47 -07:00
Wez Furlong
668ac85d75
ci: run tests in debug mode
The original thinking was to build all in release mode so that
there was less overall redundancy between building out the released
binaries and what we need to build for test purposes.  The goal was to
minimize compile time.

I don't believe that that holds up any more, especially with the
prior commit explicitly breaking out the separate binary builds
to manage dependency bloat.
2024-04-05 14:10:36 -07:00
Wez Furlong
4de4061bf3
ci: avoid bundling deps for various sub crates
In particular, strip-ansi-escapes' dep graph is expanded
by the overall set of enabled crate features when doing an
indiscriminate `cargo build` vs. `cargo build -p strip-ansi-escapes`.

This may help to avoid tripping over whatever is problematic
in https://github.com/wez/wezterm/issues/5074
2024-04-05 13:29:18 -07:00
Wez Furlong
9064c1c194
ci: bump cache action
closes: https://github.com/wez/wezterm/pull/4958
2024-02-05 06:34:15 -07:00
Wez Furlong
3d893cbbf7
ci: bump sccache
closes: https://github.com/wez/wezterm/pull/4959
2024-02-05 06:33:28 -07:00
Wez Furlong
26921ced86
ci: bump cargo-install
closes: https://github.com/wez/wezterm/pull/4960
2024-02-05 06:32:43 -07:00
Jalil David Salamé Messina
309b7d1d6a ci: regenerate workflows 2024-02-01 08:53:49 -07:00
Wez Furlong
a95111342c
ci: actions/checkout@v3 -> v4
closes: #4273
2023-09-10 22:14:17 -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
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
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é
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 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
a22e6fa1ab
fix trigger paths! 2023-03-16 00:05:00 -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
156b0ae44c ci: skip full build when updating just the .markdown docs 2022-05-09 21:57:18 -07:00
gimbles
981f1e678d Add 22.04 release info 2022-04-25 20:28:59 -07:00