Commit Graph
513 Commits
Author SHA1 Message Date
Benoit de Chezelles 6f8b1d41b2 ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS) 2026-08-03 05:46:20 +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
Benoit de Chezelles fa0a1da0f9 flatpak: bump runtime to 25.08
Previous 23.08 runtime has been EOL for a while and some flatpak app
stores even discourage use of apps without outadated runtimes.

refs: #7767 flathub/org.wezfurlong.wezterm#19
2026-08-02 17:43:40 +02:00
Benoit de Chezelles f232de08a8 Unify & document flatpak distribution workflow (for local/release) 2026-08-02 17:41:28 +02:00
Wez Furlong 3054d107fd ci: deploy: match cygwin -> windows as well 2026-06-06 11:46:14 +01: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 73ac6f2802 deps: cargo cooldown update
Add a trivial little script to run `cargo cooldown update`.
The purpose of the script is to make it a little more discoverable
in the future if I or someone else forgets how this works.

https://crates.io/crates/cargo-cooldown is required to run this
script.  Its purpose is to run `cargo update` while respecting
the dependency cooldown options found in cooldown.toml in the
root of the repo
2026-06-06 08:30:00 +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
Jeremy Fitzhardinge 712400a558 Fix COPR virtual package installation on Fedora 43
Move the main package Requires directive before subpackage definitions in the RPM spec file. The Requires statement for the main 'wezterm' metapackage must appear before any %package subpackage sections to be properly recognized by RPM. This fixes the issue where installing the 'wezterm' virtual package would install nothing, while installing wezterm-common and wezterm-mux-server separately worked correctly.
2026-01-16 05:46:04 +00:00
Jeremy Fitzhardinge f3602d2b21 Fix COPR build: expand TAR_NAME variable in BUILD_REQUIRES
The BUILD_REQUIRES heredoc was using a quoted delimiter ('BREQEOF'),
which prevented shell variable expansion of ${TAR_NAME}. This caused
RPM build errors when the spec file received the literal string
"wezterm-${TAR_NAME}.tar.gz" instead of the expanded filename.

Changed to an unquoted delimiter (BREQEOF) to enable variable expansion.
2026-01-15 08:50:19 +00: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
Jeremy Fitzhardinge b647d74fd2 Split RPM package into separate subpackages for wezterm-common, wezterm-gui, and wezterm-mux-server
Uses RPM subpackages (%package -n) with a single spec file - the standard approach for generating multiple binary RPMs from one build. This allows wezterm-mux-server to be installed without GUI dependencies (X11, Wayland, fontconfig, mesa-libEGL, etc).

Changes:
- wezterm-common: CLI launcher and utilities, requires only openssl
- wezterm-gui: GUI terminal with desktop integration, requires GUI libraries
- wezterm-mux-server: Headless multiplexer server, requires only openssl
- wezterm: Metapackage requiring all three for backward compatibility

Single %build section compiles all binaries together. Works for both COPR (source RPM) and binary RPM builds.
2025-11-23 15:26:34 +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 ade88725b0 ci/build-docs.sh: also support running under podman
Need to use regular port forwarding, rather than host networking,
for this to work for me on macos for whatever reason.
2025-04-15 05:22:39 -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 b387265329 docs: add netbsd install instructions to toc
refs: https://github.com/wezterm/wezterm/pull/6689
2025-02-22 13:24:54 -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
Alec Clews 20a44962d6 Add reference material for plugin module
Addresses https://github.com/wez/wezterm/issues/6177
2025-02-09 13:15:13 -07:00
Alec Clews 05b510890c Added new page to describe Plugins.
WIP for review

TODO:

1. Add a section to the reference for `wezterm.plugins`
2. Create a plugin starter project

https://github.com/wez/wezterm/issues/6177
2025-02-09 13:15:13 -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
Damien Deville 54af65d2ee Copy terminfo into MacOS app resources (#6538)
* Copy terminfo into MacOS app resources

Currently the terminfo file has to be downloaded from the repo and
installed manually. It'd be nice to include it in the app so that a
package manager like Homebrew could install it in the right place when
Wezterm is installed, which is something that Alacritty does.

I've chosen to include the compiled version so that package manager
don't have to invoke `tic` and can just copy files around.

This will result in the following being added to the Resources folder:
```
WezTerm.app/Contents/Resources/terminfo/77/wezterm
```

Once this is in I'll send a patch to update the [Homebrew
formula](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/w/wezterm.rb)
and have it actually install the terminfo.

* Fix filename...
2025-02-07 19:26:33 -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 11c4b11669 s,wez/wezterm,wezterm/wezterm,
I moved the repo to an org of its own. Update various things
to reference the new location.
2025-02-07 13:08:01 -07:00
Wez Furlong 00644d4e1a update for new wezterm.org domain 2025-02-06 21:13:50 -07:00
Sean Estabrooks 6a0ed04df4 Alter copr spec file for Fedora 41 and Rawhide
SlouchyButton mentioned in #6015 that a Fedora Openssl
packaging change was likely causing a problem for the
copr build.

The deprecated engine header has been broken out into
its own package.  Add a dependency on it for Fedora 41
and Rawhide.
2024-10-30 21:42:23 -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 7f35aac7a9 sync-color-schemes: fix mis-parse of color schemes
Double check that what we got looked enough like
our data when reading from a toml file
2024-05-04 22:01:00 -07:00