213 Commits
Author SHA1 Message Date
Josh McKinney 21c281ab17 ci: Pin sccache to v0.16.0 on Windows (#8360)
sccache 0.17 and later expand cargo's rustc argfile and then spawn
rustc with the full command line, which exceeds the Windows limit when
building `mux` ("The filename or extension is too long", os error 206).
v0.16.0 passes the argfile through to rustc instead.

See https://github.com/mozilla/sccache/issues/2787
2026-11-20 01:40:42 +01:00
Wez Furlong e2a98e1b8a escape-parser: Fix no_std build and add CI coverage
Fix `make test` failing on the wezterm-escape-parser no_std configuration,
and add CI coverage to prevent silent regressions.
2026-10-10 08:39:11 +01:00
Vaibhav Srivastava 135baeab0f docs: fix typo dependecies -> dependencies (#8113)
Signed-off-by: Vaibhav Srivastava <vaibhavsri1712@gmail.com>
2026-08-29 14:33:08 +02:00
Benoit de Chezelles 92cd0e0863 ci: use newer ubuntu26 target for flatpak/linuxbrew/appimage packaging 2026-08-03 00:58:04 +02:00
Benoit de Chezelles db4652c935 ci: Add ubuntu:26.04 target 2026-08-03 00:58:04 +02:00
Wez Furlong 62fcc23bf8 ci: bump windows, add debug
The OSTYPE isn't matching in the deploy script any longer, which
suggests that "something changed" in the image.  Let's explicitly
point to a newer image: that was previously blocked because the
installer tools were not present.  The associated issue has been
closed, so since we're broken right now anyway, let's move this
up and troubleshoot on the newer image.
2026-06-06 10:32:38 +01:00
Wez Furlong 0aa78582a4 ci: bump download-artifact 2026-06-06 08:46:28 +01:00
Wez Furlong 71ac841b80 ci: bump upload-artifact 2026-06-06 08:13:15 +01:00
Wez Furlong 954bdc3303 ci: appimage build requires the file command 2026-06-06 08:11:54 +01:00
Wez Furlong f4e41b746a ci: restore building the appimage
Tweak to make it more difficult to overlook when we later deprecate
a particular platform/target.

Similarly for the gemfury apt repo uploads
2026-06-06 07:31:47 +01:00
Wez Furlong d4bababa1b ci: bump some actions workflows, drop some EOL/old distros
This is just a quick pass to get CI more in the green, and to use
fewer resources: some of these distros are pretty old.

Note that our remaining fedora entry here is also EOL; we can
review bumping that in a separate pass.
2026-06-06 07:19:05 +01:00
Wez Furlong ac08cdf6d7 ci: maybe fixup for rpm package split
refs: https://github.com/wezterm/wezterm/pull/7395
2025-11-23 15:45:00 +00:00
Wez Furlong b7dd3bc812 ci: maybe fix windows ci
iscc.exe is no longer included in windows-2025, but we need it

refs: https://github.com/actions/runner-images/issues/11644
2025-10-05 10:55:24 +01:00
Wez Furlong d1bdb8a350 ci: debian 10.3 (buster) is no longer available, remove it 2025-07-23 08:21:40 +01:00
Wez Furlong 3463d5d81b ci: cache api was biffed 2025-04-18 09:32:02 -07:00
Wez Furlong 7d0bff0698 ci: trigger builds when .cargo/config.toml changes
refs: https://github.com/wezterm/wezterm/pull/6722
2025-03-01 12:34:20 -07:00
Wez Furlong 96f9455e07 ci: remove zsync file upload for appimage
linuxdeploy doesn't currently ship it due to upstream issues

This commit prevents the lack of zsync files from blocking
the build.

refs: https://github.com/linuxdeploy/linuxdeploy/issues/309
refs: https://github.com/AppImage/appimagetool/issues/84
2025-02-22 13:20:38 -07:00
Wez Furlong 4c619a44dc ci: alternate approach to limit uploads from forks 2025-02-10 17:29:31 -07:00
Wez Furlong 108f1516bb ci: avoid upload/pushes for forks running on the main branch
When someone forks wezterm and submits a PR based off their main
branch, it is desirable to avoid trying to push releases or PRs
to other projects when wezterm maintainers amend the PR during
code review.
2025-02-10 17:21:13 -07:00
Guarabot 81edde286a Add CI for Fedora Linux 41 (#6156) 2025-02-10 09:14:24 -07:00
Wez Furlong 6fe9d01e65 ci: remove fedora 38
It's EOL

refs: https://github.com/wezterm/wezterm/pull/6156
2025-02-09 12:24:08 -07:00
Wez Furlong 836a0855fd ci: bump sccache action
closes: https://github.com/wezterm/wezterm/pull/6212
2025-02-09 12:19:19 -07:00
Wez Furlong 1bd7e9ec39 ci: maybe fixup pushing to the nightly release 2025-02-09 10:27:36 -07:00
Wez Furlong c79f8d59c4 macos: MACOSX_DEPLOYMENT_TARGET 10.9 -> 10.12
rustc emits:

```
warning: deployment target in MACOSX_DEPLOYMENT_TARGET was set to 10.9, but the minimum supported by `rustc` is 10.12
```

and so we follow that min requirement
2025-02-09 09:51:38 -07:00
Wez Furlong 691325fc41 ci: actually disable the schedule for the main jobs
I forgot that these continually spam my github notifications
due to the cancelled builds like 10x for each push, pr and so on.

Let's turn these back off again for now.
2025-02-07 20:23:49 -07:00
Wez Furlong 57fae2f9fd ci: re-enable cron for workflows
The thesis was that it might help whatever borkage behind
https://github.com/orgs/community/discussions/66297 might be
happening, but it hasn't seemed to do anything useful, so
we may was well turn it back on again.
2025-02-07 18:58:25 -07:00
Wez Furlong ea5787af3d ci: disable crons
Apparently crons can interfere with the successful migration
of github actions around a repo transfer?
https://github.com/orgs/community/discussions/66297

Feels crazy!  Let's try turning them off and see if that
helps the actions to start working again, more quickly
2025-02-07 13:40:35 -07:00
Wez Furlong c65dc63495 ci: missed an upload-artifact upgrade 2024-09-21 12:49:12 -07:00
Wez Furlong 7b342a6b39 ci: update upload/download artifact workflows
closes: https://github.com/wez/wezterm/pull/6083
2024-09-21 12:00:03 -07:00
Wez Furlong fab09fd331 ci: Add ubuntu 24.04 2024-07-13 06:31:39 -07:00
Wez Furlong b6cc0382cb ci: update sccache action
closes: #5751
2024-06-24 06:54:47 -07:00
Wez Furlong cb1406860a ci: explicitly install both intel and arm rust for macos 2024-06-17 08:35:35 -07:00
Wez Furlong 91dbc0f6a1 ci: drop centos8
It reached EOL at the end of May 2024
2024-06-17 08:31:17 -07:00
Wez Furlong 3826086386 ci: switch mac builds to macos-latest 2024-06-17 08:29:23 -07:00
Bogdan-Cristian Tătăroiu da2d0ad267 ci: Update Fedora versions.
Fedora 40 was released, Fedora 37 is EOL.
2024-05-20 08:45:32 -07:00
Bogdan-Cristian Tătăroiu 993eb9f3a9 Fix Windows CI.
It's currently failing when running tests with errors of the form:

> error: creating test list failed
>
> Caused by:
>   for `wezterm-config-derive`, command
>   `'D:\a\wezterm\wezterm\target\debug\deps\wezterm_config_derive-f1c7f0f2de220b6e.exe'
>   --list --format terse` exited with code 0xc0000135: The specified
>   module could not be found. (os error 126)

This seems to have been caused by nextest-rs/nextest#1493, with this comment
as a fix: https://github.com/nextest-rs/nextest/issues/1493#issuecomment-2106331574
2024-05-20 08:39:43 -07:00
Wez Furlong cce0706b1f ci: another attempt at fixing up windows path 2024-04-05 18:09:10 -07:00
Wez Furlong 9b082e5355 ci: fixup perl path on windows when running tests 2024-04-05 16:21:13 -07:00
Wez Furlong 58cd230a45 ci: include the bin name in the step name on windows 2024-04-05 14:20:24 -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 11a3133f5d ci: publish amd64 builds to apt repo when releasing
Currently only arm builds are published for releases
2024-02-05 06:48:49 -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
Wez Furlong a9eca94bfa ci: bump auto-commit workflow
closes: https://github.com/wez/wezterm/pull/4961
2024-02-05 06:31:50 -07:00
Jalil David Salamé Messina bcc54d32be ci: Vendor cargo dependencies
This doesn't improve the build times, but it does reduce the requests we
make to `crates.io`.
2024-02-01 08:53:49 -07:00
Jalil David Salamé Messina 8c43c045c4 ci: Use scccache-action instead of rust-cache
It reduced ci times for fluke from 9min to 1min in MacOS (see [this
issue](https://github.com/hapsoc/fluke/issues/118)).

This [comment](https://github.com/wez/wezterm/pull/4468#issuecomment-1789638340)
has the TL;DR of the results from adding it. The summary of that is
caching works on MacOS now and it uses the github cache much better.
2024-02-01 08:53:49 -07:00
Wez Furlong 1479c7be64 Revert "ci: use new arm runners for macos builds"
This reverts commit 59fe967d92.

Need to do something more to deal with the architecture change;
will come back to this later
2024-01-30 22:15:29 -07:00
Wez Furlong 59fe967d92 ci: use new arm runners for macos builds 2024-01-30 22:13:46 -07:00